-
Notifications
You must be signed in to change notification settings - Fork 13.4k
!. after ?. should be warned #35071
Copy link
Copy link
Open
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript
Metadata
Metadata
Assignees
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript
Type
Fields
Give feedbackNo fields configured for issues without a type.
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: