TypeScript type for classes that extend class
This Stack Overflow question is what I'm asking, but none of the answers provide intellisense for the function argument: https://stackoverflow.com/questions/76913841/generic-type-to-specify-a-class-which-extends-another
I'd like to be able to do something like:
Stack Overflow
Generic type to specify a class which extends another
In this example I have a Class type which is defined as a class constructor so that I can define methods which accept class constructors as a parameter. I would like that Class also has a generic t...
1 Reply