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
{{ message }}
Repository navigation
control flow narrowing is broken in nightly build #10228
This is caused by the stricter discriminant property check introduced in #10188. It's an easy fix, we just need to ignore undefined, null, and void in the declared type when checking whether a property in a particular declared type is a discriminant property. I will put up a fix later today.
Activity
zpdDG4gta8XKpMCd commentedon Aug 9, 2016
undefined,voidandnullif it mattersahejlsberg commentedon Aug 9, 2016
This is caused by the stricter discriminant property check introduced in #10188. It's an easy fix, we just need to ignore
undefined,null, andvoidin the declared type when checking whether a property in a particular declared type is a discriminant property. I will put up a fix later today.zpdDG4gta8XKpMCd commentedon Aug 11, 2016
works, thanks!