Classes
9 lessons
- 01ClassesLearn how to use typed properties and methods within classes.
- 02Private Class MembersLearn how to use native JavaScript private fields in TypeScript.
- 03TypeScript Public and PrivateLearn about the TypeScript-specific access modifiers.
- 04Protected Data MembersLearn how to share data with subclasses while keeping it hidden from the outside.
- 05Abstract Classes and MethodsLearn how to create template classes that enforce specific behaviors on subclasses.
- 06Classes Implement InterfacesLearn how to enforce interface contracts on your class definitions.
- 07Classes vs. Interfaces and TypesUnderstand the trade-offs between the different ways to model objects.
- 08The This TypeLearn how to handle the value of this within class methods safely.
- 09Parameter PropertiesLearn how to use shorthand for declaring and initializing class properties.