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
Because the .d.ts export replaces wildcards by their explicit or implicit upper bound and does not yet have special handling for cycles, it can run into problems in case of recursive type bounds.
To reproduce (leads to invalid output):
classG0<TextendsG0<T>>{}letg0: G0<?>;
Leads to exception:
classG1<TextendsG1<?>>{}
And similarly:
classA{}classG2<T0extendsA,T1extendsG2<T0,?>>{}
Closely related, even this leads to invalid output (missing substitution):
classH<T>{}
class G3<T0,T1extendsH<T0>>{}
let g0: G3<string, ?>;
The text was updated successfully, but these errors were encountered:
Because the .d.ts export replaces wildcards by their explicit or implicit upper bound and does not yet have special handling for cycles, it can run into problems in case of recursive type bounds.
To reproduce (leads to invalid output):
Leads to exception:
And similarly:
Closely related, even this leads to invalid output (missing substitution):
The text was updated successfully, but these errors were encountered: