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
Line 3 reports Type parameter 'T' has a circular constraint. (2313) since TS 5.4 which can be fixed with NoInfer
import type {IfAny} from "type-fest";
function foo<T extends IfAny<T, never, string>>( arg: T ): string;
function fooN<T extends IfAny<NoInfer<T>, never, string>>( arg: T ): string;
Is this something that can be fixed by IfAny internally to avoid having to change 100s of places where it reports this error since TS 5.4 in our codebase?
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
The funding will be given to active contributors.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
Line 3 reports
Type parameter 'T' has a circular constraint. (2313)
since TS 5.4 which can be fixed withNoInfer
Playground
Is this something that can be fixed by IfAny internally to avoid having to change 100s of places where it reports this error since TS 5.4 in our codebase?
Upvote & Fund
The text was updated successfully, but these errors were encountered: