Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 533 Bytes

ts-config-no-experimentaldecorators.md

File metadata and controls

39 lines (29 loc) · 533 Bytes

ts-config-no-experimentaldecorators

Requires compilerOptions.experimentalDecorators in tsconfig.json to be set to false.

This rule is fixable using the --fix option.

Examples

Good

{
  "compilerOptions": {
    "experimentalDecorators": false
  }
}

Bad

{
  "compilerOptions": {
    "experimentalDecorators": true
  }
}
{
  "compilerOptions": {}
}
{}