Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 471 Bytes

ts-config-declaration.md

File metadata and controls

39 lines (29 loc) · 471 Bytes

ts-config-declaration

Requires compilerOptions.declaration in tsconfig.json to be set to true.

This rule is fixable using the --fix option.

Examples

Good

{
  "compilerOptions": {
    "declaration": true
  }
}

Bad

{
  "compilerOptions": {
    "declaration": false
  }
}
{
  "compilerOptions": {}
}
{}