Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Labels
accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginpackage: scope-managerIssues related to @typescript-eslint/scope-managerpackage: visitor-keysIssues related to @typescript-eslint/visitor-keys
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I havesearched for related issues and found none that matched my issue.
- I haveread the FAQ and my problem is not listed.
Playground Link
Repro Code
functionmakeBox<T>(value:T){return{ value};}exporttypeMakeBox<T>=typeofmakeBox<T>;
ESLint Config
module.exports={"rules":{"@typescript-eslint/no-unused-vars":["error"]}}
tsconfig
{"compilerOptions": {"strictNullChecks":true }}
Expected Result
No error sinceT
is used
Actual Result
'T' is defined but never used. 4:21 - 4:22
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin | 5.27.0 |
@typescript-eslint/parser | 5.27.0 |
TypeScript | 4.7.2 |
ESLint | 8.15.0 |
node | web |
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginpackage: scope-managerIssues related to @typescript-eslint/scope-managerpackage: visitor-keysIssues related to @typescript-eslint/visitor-keys