[no-unused-vars] False positive with Decorators and Promises #2969
Labels
duplicate
This issue or pull request already exists
package: parser
Issues related to @typescript-eslint/parser
Repro
.eslintrc.json
index.ts
tsconfig.json
Expected Result
No linting errors or warnings
Actual Result
1:11 warning 'Message' is defined but never used @typescript-eslint/no-unused-vars
Additional Info
This problem did not happen with
@typescript-eslint/parser
version4.13.0
. It only appeared in the last few days when I've upgraded the package to the latest versionVersions
@typescript-eslint/parser
4.14.0
@typescript-eslint/eslint-plugin
4.14.0
TypeScript
4.1.3
ESLint
7.18.0
node
14.15.4
The text was updated successfully, but these errors were encountered: