[no-use-before-define] False positive on type guard cast #2527
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,
value
is part of the type, it's not being "used".Actual Result
Additional Info
Versions
@typescript-eslint/eslint-plugin
4.1.0
@typescript-eslint/parser
4.1.0
TypeScript
4.0.2
ESLint
7.2.0
node
12.18.1
The text was updated successfully, but these errors were encountered: