Learn TypeScript
Introduction
Introduction
So far we have learned how to make code type-safe using standard types. In this module we will learn how to create our own types.
In this module we will cover:
- Creating enums
- Creating object types
- Creating type aliases
- Creating interfaces
- Creating union types
- Creating intersection types
- Interfaces v type aliases
- Thinking of types as sets of values
- Understanding type compatibility
- Quiz