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
A regression is introduced by upgrading TypeScript to v5.0. This is caused by a breaking change in TypeScript's type narrowing behavior.
Example:
typeType=number|Date| ...
letvalue: Typeif(typeofvalue==='number'||valueinstanceofDate){// Type of 'value' is not `number | Date`, but `(Type & number) | (Type & Date)`.}
A regression is introduced by upgrading TypeScript to v5.0. This is caused by a breaking change in TypeScript's type narrowing behavior.
The text was updated successfully, but these errors were encountered: