Requires compilerOptions.declaration
in tsconfig.json
to be set to true
.
This rule is fixable using the --fix
option.
{
"compilerOptions": {
"declaration": true
}
}
{
"compilerOptions": {
"declaration": false
}
}
{
"compilerOptions": {}
}
{}
Only if the rule breaks.