diff --git a/src/core/scriptLoader.ts b/src/core/scriptLoader.ts index 29a253d..6fe8a38 100644 --- a/src/core/scriptLoader.ts +++ b/src/core/scriptLoader.ts @@ -454,7 +454,8 @@ namespace AMDLoader { scriptSource = nodeInstrumenter(scriptSource, normalizedScriptSrc); const scriptOpts: INodeVMScriptOptions = { filename: vmScriptPathOrUri, cachedData, importModuleDynamically: (specifier) => { - return import(specifier); + // @ts-ignore + return import(specifier); } }; const script = this._createAndEvalScript(moduleManager, scriptSource, scriptOpts, callback, errorback);