ESLint complains about unused variable when variable of it is used to define Typescript parameter type #13263
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
triage
An ESLint team member will look at this issue soon
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
@typescript-eslint/parser
Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
eslint "**/*.ts"
What did you expect to happen?
Should have no error.
What actually happened? Please include the actual, raw output from ESLint.
services/command.service.ts
1:13 error 'Discord' is defined but never used no-unused-vars
✖ 1 problem (1 error, 0 warnings)
Are you willing to submit a pull request to fix this bug?
Don't know how.
The text was updated successfully, but these errors were encountered: