I have a class that takes a generic:
abstract class Base<P extends SomeType = SomeType> {
// ...
}
And a class that extends it:
class A extends Base<SomeTypeA> {
// ...
}
Its hard to describe, but basically I'm wondering if its possible with typescript to know "What is the type that class A extended Base with?"
Something like
type PropType = ExtendedGeneric<A> // SomeTypeA