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
Type aliases are just that, aliases. the compiler will try to resolve the alias target once it sees it, if that causes it to loop over itself, then you will get the error. in this case a use of Flatten needs a constraint to be verified, and to do that the compiler will pull on the type, and will get into the cycle.
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.8.0-dev.20180217
Search Terms:
Code
(as mentioned in #21613)
Expected behavior: ok
Actual behavior:
Playground Link: needs 2.8, playground is on 2.7
Related Issues: #6230
I saw similar issues on other types, though the greatest common denominator appeared to be recursion + conditional types (?).
The text was updated successfully, but these errors were encountered: