Introduction
What's the OOP in TypeScript all about?
()
1. Classes in TypeScript
Classes vs. objects
()
Prototypes vs. classes
()
Constructor and class properties
()
Methods with TypeScript
()
Using Get
()
Using Set
()
Challenge: Classes
()
Solution: Classes
()
2. Inheritance in TypeScript
Inheritance introduction
()
Extending classes in TypeScript
()
Implementing classes in TypeScript
()
Super()
()
Super() overrides
()
Generics
()
Polymorphism
()
Challenge: Inheritance
()
Solution: Inheritance
()
3. Access Modifiers in TypeScript
What is encapsulation?
()
Public vs. private
()
Protected
()
Static
()
Readonly
()
Challenge: Encapsulation
()
Solution: Encapsulation
()
Conclusion
Converting legacy classes to TypeScript
()
What's next?
()
TypeScript settings
()
Ex_Files_TypeScript_Object_Oriented.zip
(11 KB)