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
Expected behavior:
No Errors - should be able to assign excluded to obj.
Actual behavior:
Error:
[ts]
Type '{ anyString: string; excluded: number; }' is not assignable to type 'Combined'.
Type '{ anyString: string; excluded: number; }' is not assignable to type 'Index'.
Property 'excluded' is incompatible with index signature.
Type 'number' is not assignable to type 'string'.
TypeScript Version:
2.8.3
Search Terms:
intersection type index
Code
Expected behavior:
No Errors - should be able to assign
excluded
toobj
.Actual behavior:
Error:
Playground Link:
Link
Related Issues:
#24220 #23673 #20597
The text was updated successfully, but these errors were encountered: