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
typeGenericBinding<Fextends<T1>(value: T1)=>any,// take a generic fn with T1 parameterT2,// also accept a T2 parameter>=F<T2>;// bind the generic of F to T2
This does not work, although #47607 claims to have solved #40542 which is essentially this.
#40542 is clearly about types, #47607 only partially solves the issue described. If you follow what's going on at the code that is mentioned at #40542, the devs there were unable to meaningfully use the limited solution provided by #47607. I'd say that issue has to be reopened, as well as this one, which poses the same issue but in an explicitly broader sense.
This issue is marked with Working as intended, is it because it was submitted as a bug?
Activity
andrewbranch commentedon Dec 20, 2022
Fis a type, while #47607 and #40542 are about values.typescript-bot commentedon Dec 22, 2022
This issue has been marked 'Working as Intended' and has seen no recent activity. It has been automatically closed for house-keeping purposes.
MOZGIII commentedon Dec 23, 2022
#40542 is clearly about types, #47607 only partially solves the issue described. If you follow what's going on at the code that is mentioned at #40542, the devs there were unable to meaningfully use the limited solution provided by #47607. I'd say that issue has to be reopened, as well as this one, which poses the same issue but in an explicitly broader sense.
This issue is marked with
Working as intended, is it because it was submitted as a bug?