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.7.0-dev.20180119
Search Terms:
array guard lambda
Code
When guard is wrapped in a lambda, guard type is gone
Other example:
Expected behavior:
b: string[]
Actual behavior:
b: (string | number)[]
Playground
link
Related Issues:
#18562
The text was updated successfully, but these errors were encountered: