Suppose I have a class like:
class Foo<T extends string> { }
Now, I need to have an abstract method, the name of which is the value of T. Is that possible?
The use-case would look something like this:
class Bar extends Foo<'test'> {
public override test(): void {
// todo
}
}
I need to have an abstract methodmean? There is no such thing as abstract method, there is an abstract class maybe?