Similar to C#, TypeScript supports inheritage, implementing interfaces, and abstract classes and methods. This section recalls the preceding concepts and shows how they are implemented in TypeScript and how to use them to design modular applications.
Inheriting from a class and implementing interfaces
Implementing interfaces
A class may declare that it implements one or more interfaces with the following syntax:
class <class name> implements <interface1> [, <interface1>]...{
...
...
}
The implements keyword is followed by one or more comma-separated interface references. After that, the class must contain all methods and properties prescribed by each interface, and all of them must be...