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
functionf(a: {b?: string;c?: number;}){// something else}f({b: ""});// no error as intendedf({b: 1});// error as intendedf(1);// expected: error, actually: no errorf("");// expected: error, actually: no error
Expected behavior:
see comments in the code. Actual behavior:
see comments in the code.
The text was updated successfully, but these errors were encountered:
TypeScript Version:
1.8.10
Code
Expected behavior:
see comments in the code.
Actual behavior:
see comments in the code.
The text was updated successfully, but these errors were encountered: