!.
after ?.
should be warned
#35071
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
This is an anti-pattern on the current type system. And the compiler must not do quick fix so.
!.
after?.
is simply replaceable with?.
and should do so.TypeScript Version: 3.7.x-dev.20191105
Search Terms:
Code
Expected behavior:
Actual behavior:
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: