Course overview

TypeScript in Practice: First Steps in OOP

Course content11 lessons
Configuring the TypeScript Compiler and Compiling Your First Class Configuring the TypeScript Compiler and Compiling Your First Class Lesson 1 Automating TypeScript Compilation with tsconfig.json Automating TypeScript Compilation with tsconfig.json Lesson 2 Exploring Variable Types in TypeScript: Basic, Union, Tuple, and Custom Types Exploring Variable Types in TypeScript: Basic, Union, Tuple, and Custom Types Lesson 3 Custom Types, Type Aliases, and Interfaces in TypeScript Custom Types, Type Aliases, and Interfaces in TypeScript Lesson 4 Functions, Arrow Functions, Optional Parameters, and Default Values in TypeScript Functions, Arrow Functions, Optional Parameters, and Default Values in TypeScript Lesson 5 TypeScript Modules: Exporting and Importing Functions with export and import TypeScript Modules: Exporting and Importing Functions with export and import Lesson 6 TypeScript Modules: Classes as Single Entities and Using export default TypeScript Modules: Classes as Single Entities and Using export default Lesson 7 Defining a Class, Attributes, Constructors, and Method Overloading in TypeScript Defining a Class, Attributes, Constructors, and Method Overloading in TypeScript Lesson 8 Access Modifiers in TypeScript: public and private Access Modifiers in TypeScript: public and private Lesson 9 Inheritance, super, and the protected Modifier in TypeScript Inheritance, super, and the protected Modifier in TypeScript Lesson 10 Abstract Classes, Abstract Methods, and Override in TypeScript Abstract Classes, Abstract Methods, and Override in TypeScript Lesson 11
Previous
Up next Next
Current lesson | Lesson 7/11

TypeScript Modules: Classes as Single Entities and Using export default

TypeScript in Practice: First Steps in OOP 0%
Let's explore how to use export default to export a class as the main entity of a module. I'll show you why this approach promotes single responsibility, making the code more readable and maintainable.
Instructor
G Giovanni Pace
Up next Defining a Class, Attributes, Constructors, and Method Overloading in TypeScript