[no-unused-vars] new v4 false positive: generic type arg used as function parameter list #2449
Closed
3 tasks done
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
Expected Result
No error
Actual Result
Error -
'A' is defined but never used.eslint@typescript-eslint/no-unused-vars
Additional Info
When removing the
...
beforea
, the error is no longer reported (although obviously this is a completely different type - just including this info in case it's helpful). i.e. this is fine:Versions
@typescript-eslint/eslint-plugin
4.0.1
@typescript-eslint/parser
4.0.1
TypeScript
4.0.2
ESLint
7.7.0
node
12.17.0
The text was updated successfully, but these errors were encountered: