interface BaseInter {
name: string;
test(): void;
}
abstract class Abs implements BaseInter { }
In TypeScript, compiler complaints that the class incorrectly implements the interface:
name is missing in type Abs.
Here Abs
is an abstract class and so why do we need to implement the interface over there?