experimentalDecorators and emitDecoratorMetadata affect builder state (#36297)

* experimentalDecorators and emitDecoratorMetadata affect builder state

* better test
This commit is contained in:
Klaus Meinhardt
2020-01-21 20:28:55 +01:00
committed by Sheetal Nandi
parent 2dd21a08f5
commit bc1e7728df
3 changed files with 252 additions and 0 deletions

View File

@@ -743,12 +743,15 @@ namespace ts {
{
name: "experimentalDecorators",
type: "boolean",
affectsSemanticDiagnostics: true,
category: Diagnostics.Experimental_Options,
description: Diagnostics.Enables_experimental_support_for_ES7_decorators
},
{
name: "emitDecoratorMetadata",
type: "boolean",
affectsSemanticDiagnostics: true,
affectsEmit: true,
category: Diagnostics.Experimental_Options,
description: Diagnostics.Enables_experimental_support_for_emitting_type_metadata_for_decorators
},