After 3 long months, I came across a warning in a project that was being refreshed today.
The warning says "no-unused-variable is deprecated. Since TypeScript 2.9. Please use the built-in compiler checks instead."
Oddly enough, my tsconfig.json
file does not appear to be utilizing this feature.
{
"compilerOptions": {
"lib": ["es6"],
"module": "commonjs",
"noImplicitReturns": true,
"outDir": "lib",
"sourceMap": true,
"target": "es6",
"allowJs" : true
},
"compileOnSave": true,
"include": [
"src"
]
}
It might be a hidden configuration within one of the previous settings.
Can anyone provide guidance on how to resolve this issue?
If helpful
$ node -v
v10.3.0
$ npm -v
6.1.0
These are the devDependencies
related to TypeScript in my package.json
"devDependencies": {
...
"tslint": "^5.11.0",
"typescript": "^2.9.1"
...
},