Separate type application from function application #29043
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
As discussed in #28931, currently the type application for the function with generic parameters is tied to that function application.
Specialize the value of the function with generics is only possible during the call. So the following compiles fine:
But this does not:
It would be very beneficial to separate type application from function application. For example (the original reason of this request), it will allow mixins with generic parameters:
The text was updated successfully, but these errors were encountered: