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
I looked at #20863 but I don't think this is exactly the same, because in this case we have a tagged aka discriminated union, whereas that issue describes behaviour for unions without tags aka discriminant properties.
The text was updated successfully, but these errors were encountered:
OliverJAsh
changed the title
Missing excess property error for tagged union
Missing excess property error for discriminated union
Jun 12, 2020
TypeScript Version: 3.9.5
Search Terms:
Code
Expected behavior: See code comments
Actual behavior: See code comments
Playground Link: Link
Related Issues:
I looked at #20863 but I don't think this is exactly the same, because in this case we have a tagged aka discriminated union, whereas that issue describes behaviour for unions without tags aka discriminant properties.
The text was updated successfully, but these errors were encountered: