[no-undef] this
in typeof this
is reported as undefined incorrectly
#4364
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
AST
PRs and Issues about the AST structure
bug
Something isn't working
good first issue
Good for newcomers
has pr
there is a PR raised to close this
package: typescript-estree
Issues related to @typescript-eslint/typescript-estree
Repro
Expected Result
No error should be reported.
Actual Result
this
intypeof this
is reported as undefined.Additional Info
Versions
Tested on latest commit, a9eb0b9.
@typescript-eslint/eslint-plugin
X.Y.Z
@typescript-eslint/parser
X.Y.Z
TypeScript
X.Y.Z
ESLint
X.Y.Z
node
X.Y.Z
The text was updated successfully, but these errors were encountered: