File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,17 @@ interface NodeRequire {
45
45
* @deprecated use `FileAccess.asFileUri()` for node.js contexts or `FileAccess.asBrowserUri` for browser contexts.
46
46
*/
47
47
toUrl ( path : string ) : string ;
48
+
49
+ /**
50
+ * @deprecated MUST not be used anymore
51
+ *
52
+ * With the move from AMD to ESM we cannot use this anymore. There will be NO MORE node require like this.
53
+ */
54
+ __$__nodeRequire < T > ( moduleName : string ) : T ;
55
+
48
56
( dependencies : string [ ] , callback : ( ...args : any [ ] ) => any , errorback ?: ( err : any ) => void ) : any ;
49
57
config ( data : any ) : any ;
50
58
onError : Function ;
51
- __$__nodeRequire < T > ( moduleName : string ) : T ;
52
59
getStats ?( ) : ReadonlyArray < LoaderEvent > ;
53
60
hasDependencyCycle ?( ) : boolean ;
54
61
define ( amdModuleId : string , dependencies : string [ ] , callback : ( ...args : any [ ] ) => any ) : any ;
You can’t perform that action at this time.
0 commit comments