How can i properly define a abstract method in a abstract class ? I want that IDE tell me that implementation of that abstract method is a must.
I tried the following, but without success:
export abstract class MyAbstractClass {
/**
* @abstract
*/
public submit() {
throw new Error('This class must be implemented')
}
}
The question is: how can we make the IDE to complain if you don't implement the abstract method ?