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
Hi I was trying to do something much more complicated than this with conditionals without success, I was reducing the issue down and down and I found this, which I find a bit weird, I was hoping someone might be able to enlighten me of a work around?
Hi I was trying to do something much more complicated than this with conditionals without success, I was reducing the issue down and down and I found this, which I find a bit weird, I was hoping someone might be able to enlighten me of a work around?
TypeScript Version: v4.1.2
Search Terms:
assign to conditional generic
Code
Expected behavior:
No type error
Actual behavior:
type error
Playground Link:
link here
Related Issues:
I couldn't find any, sorry if this is a well known problem / duplicate!
The text was updated successfully, but these errors were encountered: