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
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
TypeScript Version: 2.9.1-insiders.20180525 (playground), 3.0.0-rc
Search Terms:
property type guards, undefined checks
Code
Expected behavior:
should compile
Actual behavior:
Error:
Argument of type '{ a: Date; b?: Date | undefined; }' is not assignable to parameter of type '{ a: Date; b: Date; }'.
Playground Link:
click me
The text was updated successfully, but these errors were encountered: