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 4/11

Custom Types, Type Aliases, and Interfaces in TypeScript

TypeScript in Practice: First Steps in OOP 0%
I'll explain the difference between type aliases and interfaces in TypeScript — two powerful tools for defining the shape of your data. Let's look at concrete examples and understand when to prefer one over the other.
Instructor
G Giovanni Pace
Up next Functions, Arrow Functions, Optional Parameters, and Default Values in TypeScript