Inheritance and Decorators in TypeScript

Learn about class inheritance and different types of decorators in TypeScript.

Just like an interface can define a class, it can also extend the members and functionality of other classes. We can make a class inherit from another by appending the extends keyword to the class name, including the name of the class we want to inherit its members from:

Get hands-on with 1200+ tech skills courses.