mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-25 14:42:47 +00:00
feture: add --allowSyntheticDefaultImports flag when create TypeScript apps
This commit is contained in:
parent
3d370b5b05
commit
9cfdfd2261
@ -96,7 +96,8 @@ export default class {
|
||||
module: ts.ModuleKind.CommonJS,
|
||||
target: ts.ScriptTarget.ES6,
|
||||
experimentalDecorators: true,
|
||||
emitDecoratorMetadata: true
|
||||
emitDecoratorMetadata: true,
|
||||
allowSyntheticDefaultImports: true
|
||||
}, file, diagnostics);
|
||||
//has error
|
||||
if(diagnostics.length){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user