[no-unused-vars] v4 false positive: in d.ts files #2456
Labels
bug
Something isn't working
has pr
there is a PR raised to close this
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Milestone
Repro
foo.d.ts:
Expected Result
in a
d.ts
file all interfaces are implicitly exported and therefore 'used'Actual Result
1:11 warning 'Foo' is defined but never used @typescript-eslint/no-unused-vars
✖ 1 problem (0 errors, 1 warning)
Additional Info
no
Versions
@typescript-eslint/eslint-plugin
4.0.1
@typescript-eslint/parser
4.0.1
TypeScript
4.0.2
ESLint
7.8.0
node
14.8.0
The text was updated successfully, but these errors were encountered: