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
Note that is not possible for a conditional type to recursively reference itself, as might be desired in the Unpacked case above. We're still considering ways in which to implement this.
The definitely assignable relation is the same as the regular assignable relation, except that type variable constraints are not considered.
We may at a later date support infer declarations in regular type parameter constraints, however it is not trivial to implement. Meanwhile, you can get much the same effect with the existing constraint mechanism as I explain in the introduction to the PR.
@ahejlsberg You mean this?
TypeScript Version: master
Search Terms:
Code
Expected behavior:
pass
Actual behavior:
Related Issues:
The text was updated successfully, but these errors were encountered: