Current lesson | Lesson 10/11

Inheritance, super, and the protected Modifier in TypeScript

TypeScript in Practice: First Steps in OOP 0%
Let's explore how to extend a class with inheritance in TypeScript, using super to call the parent class constructor. I'll also explain the protected modifier, which allows subclass access while maintaining encapsulation.
Instructor
Up next Abstract Classes, Abstract Methods, and Override in TypeScript