Skip to content

Commit 0bb78b7

Browse files
committed
feat: enable the decorators compiler option.
This quenches a warning during compilation.
1 parent 861be30 commit 0bb78b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/broccoli/broccoli-typescript.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class DiffingTSCompiler implements DiffingBroccoliPlugin {
4141
this.tsOpts = Object.create(options);
4242
this.tsOpts.outDir = this.cachePath;
4343
this.tsOpts.target = (<any>ts).ScriptTarget[options.target];
44+
this.tsOpts.experimentalDecorators = true;
4445
this.rootFilePaths = options.rootFilePaths ? options.rootFilePaths.splice(0) : [];
4546
this.tsServiceHost = new CustomLanguageServiceHost(this.tsOpts, this.rootFilePaths,
4647
this.fileRegistry, this.inputPath);

0 commit comments

Comments
 (0)