You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type '"module"' is not assignable to type'"var" | "this" | "commonjs" | "amd" | "umd" | ImportTypeCallback | undefined'.ts(2322)
Below is the TS type definition of importType option
/** * The method in which unbundled modules will be required in the code. Best to leave as * 'commonjs' for node modules. * @default 'commonjs' */
importType?: 'var'|'this'|'commonjs'|'amd'|'umd'|ImportTypeCallback|undefined;
Try to pass
'module'
toimportType
optionGot error:
Below is the TS type definition of
importType
optionExpected:
All external types should be supported.
The above configuration works at runtime.
Version information:
The text was updated successfully, but these errors were encountered: