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
It looks to me like a duplicate of #49618 . There were also 2 other issues, similar to this one, reported recently: #60922 , #60544 . Despite those 2 mentioning NoInfer, the root cause of the issue is quite the same as here: resolving contextual parameter type that references a type parameter "fixes" its inference, it can't be changed afterward and the return type is not known at all before this point because it can only be computed after analyzing the function's body and that requires resolving the parameter's type
Activity
Andarist commentedon Jan 7, 2025
It looks to me like a duplicate of #49618 . There were also 2 other issues, similar to this one, reported recently: #60922 , #60544 . Despite those 2 mentioning
NoInfer, the root cause of the issue is quite the same as here: resolving contextual parameter type that references a type parameter "fixes" its inference, it can't be changed afterward and the return type is not known at all before this point because it can only be computed after analyzing the function's body and that requires resolving the parameter's typetypescript-bot commentedon Jan 11, 2025
This issue has been marked as "Duplicate" and has seen no recent activity. It has been automatically closed for house-keeping purposes.