extract generic type of generic class
how to get typeof generic type in generic class
i want to extract type T
i am using a library, it exports a generic class, but doesnt export the generic type that the generic class takes, and i want to extend the generic class, like this
another example,
i want the generic type of
so i can do
i want to extract type T
i am using a library, it exports a generic class, but doesnt export the generic type that the generic class takes, and i want to extend the generic class, like this
another example,
i want the generic type of
ExtendedClient be the same as the generic type of Client. but i dont have access to generic type of Client, so thats why i want to extract it.so i can do
