'How can I extend multiple classes in typescript?
If I have two classes, is it possible to create a third class that extends both of them?
abstract class A {
name
age
protected abstract print()
}
abstract class B {
name
age
}
// class C needs to inherit from both of the above classes
class C extends A , B {
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
