You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
TypeScript Version: 2.4.0
Code
The following blows up nicely as expected:
Put it through the
map
method though, and any extra fields will be silently accepted:Expected behavior:
Both examples blow up w/
'baz' does not exist in type 'A'
Actual behavior:
Only the compilation of the first example fails.
The text was updated successfully, but these errors were encountered: