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
Argument of type 'Foo | Bar' is not assignable to parameter of type 'Bar'.
Type 'Foo' is not assignable to type 'Bar'.
Property 'y' is missing in type 'Foo'.
The text was updated successfully, but these errors were encountered:
TypeScript Version: 2.7.0-dev.201xxxxx
Code
Expected behavior:
Should compile.
Actual behavior:
The last line has a type error,
The text was updated successfully, but these errors were encountered: