[no-unnecessary-type-assertion] Exhaustiveness check in TS requires !
to "reset" the never
type
#1282
Labels
bug
Something isn't working
external
This issue is with another package, not typescript-eslint itself
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
No error, since the
!
is necessary.Actual Result
Versions
@typescript-eslint/eslint-plugin
2.9.0
@typescript-eslint/parser
2.9.0
TypeScript
3.7.2
ESLint
6.7.1
node
12.10.0
yarn
1.19.2
The text was updated successfully, but these errors were encountered: