[no-unnecessary-type-assertion] false positive when asserting via non-null assertion operator #529
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
Repro
https://github.com/vkrol/typescript-eslint-no-unnecessary-type-assertion-undefined
Expected Result
No errors.
Actual Result
Error:
Additional Info
The change that introduced this regression: #478.
Versions
@typescript-eslint/eslint-plugin
1.9.0
@typescript-eslint/parser
1.9.0
TypeScript
3.4.5
ESLint
5.16.0
node
10.15.3
npm
6.4.1
The text was updated successfully, but these errors were encountered: