Skip to content

Commit

Permalink
feat: enable the decorators compiler option.
Browse files Browse the repository at this point in the history
This quenches a warning during compilation.
  • Loading branch information
mprobst committed Aug 4, 2015
1 parent 861be30 commit 0bb78b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/broccoli/broccoli-typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class DiffingTSCompiler implements DiffingBroccoliPlugin {
this.tsOpts = Object.create(options);
this.tsOpts.outDir = this.cachePath;
this.tsOpts.target = (<any>ts).ScriptTarget[options.target];
this.tsOpts.experimentalDecorators = true;
this.rootFilePaths = options.rootFilePaths ? options.rootFilePaths.splice(0) : [];
this.tsServiceHost = new CustomLanguageServiceHost(this.tsOpts, this.rootFilePaths,
this.fileRegistry, this.inputPath);
Expand Down

0 comments on commit 0bb78b7

Please sign in to comment.