-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redo subtype reduction with correct --noImplicitAny error reporting
- Loading branch information
1 parent
709541c
commit 90d20f2
Showing
1 changed file
with
28 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90d20f2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andy-ms what is the break?
90d20f2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
events
used to be inferred to{ id: number; type: string; } | { id: number; type: string; val: number}
now it is{ id: number; type: string; val: number} | { id: number; type: string; val?: undefined}
. which is not assignable from{ id: number; type: string; val?: number}
any moreseems like the new type is worse..