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
Type '{ bar: string; }' is not assignable to type 'object & {}'.
Object literal may only specify known properties, and 'bar' does not exist in type 'object & {}'.
This error is not present in 2.2 or 2.3-rc. Interestingly enough, the following all work fine:
TypeScript Version: 2.3.1
Code
Expected behavior:
No error.
Actual behavior:
I get the following error:
This error is not present in 2.2 or 2.3-rc. Interestingly enough, the following all work fine: