Skip to content

Commit

Permalink
feture: add --allowSyntheticDefaultImports flag when create TypeScrip…
Browse files Browse the repository at this point in the history
…t apps
  • Loading branch information
welefen committed Jan 15, 2016
1 parent 3d370b5 commit 9cfdfd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/util/watch_compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 9cfdfd2

Please sign in to comment.