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
Description
- I have tried restarting my IDE, and the issue persists.
- I have updated to the latest version of the packages.
- I haveread the FAQ and my problem is not listed.
Repro
IfAppState is imported:
import{AppState}from'@m-kbase/shared/general/states';
and later usedonly in a constructor, like:
constructor(private_store:Store<AppState>){}
then the warning appears in many places (in relation to theimport {AppState} from '@m-kbase/shared/general/states'; line):
warning 'AppState' is defined but never used @typescript-eslint/no-unused-vars
Expected Result
The same result as with the previous version 4.13.0 or earlier, with no warnings.
Additional Info
Probably similar to#2946
Versions
| package | version |
|---|---|
@typescript-eslint/eslint-plugin | 4.14.0 |
@typescript-eslint/parser | 4.14.0 |
TypeScript | 4.0.5 |
ESLint | 7.18.0 |
node | 12.13.1 |