I am working on a class that involves generics:
abstract class Base<P extends SomeType = SomeType> {
// ...
}
In addition, there is a subclass that inherits from it:
class A extends Base<SomeTypeA> {
// ...
}
I'm trying to figure out if TypeScript supports a way to determine "What type did class A use when extending Base?"
Essentially, I want something like
type PropType = ExtendedGeneric<A> // SomeTypeA