Closed danvk closed 3 years ago
It should be --ignore-non-null-assertion
rather than --ignore-unread
I put together a full repro here: https://gist.github.com/danvk/483d281abe0604e953872caba40ea505
I can only reproduce this issue if I add an exclude
section to my tsconfig.json
. Removing that section (even if it's an empty list) makes this work correctly. I tried passing --ignore-non-null-assertion
but it had no effect.
v2.16.2 should fix this
fix confirmed, thanks!
Version(if relevant): 2.16.0
Environment(if relevant):
Code(if relevant):
Expected:
no anys
Actual:
e
andpreventDefault
are flagged as havingany
types.Maybe this is the same as #80, I couldn't quite tell.
I ran