Examples for a typescript lecture.
Typescript version ^4.2
is expected, but almost all examples work on any 4.x
version, and most work on >= 3.7
.
- Chapter 1: Types 101
- Chapter 2: Unions and Intersections
- Chapter 3: TS Language Extensions
- Chapter 4: Generics
- Chapter 5: Conditional Types
- Chapter 6: Utility Types
- Chapter 7: Custom Utility types
- Chapter 8: A Few Extra Tips
- Handbook
- Release Notes
- Playground -> go to
Examples
orWhat's New
- tsconfig options