TypeScript advanced types pattern - slides and sample of my session XE-GoodCode + some extra.
- Basic types Annotation as “set”
- Structural typed and type Compatibility
- Literals, keyof, typeof and TypeGuard
- Algebraic types: Intersection and Union
- High Order types / Meta-programming:
- Lookup types and Mapped types (built-in 2.1+)
- Conditional types (predefined built-in 2.8+)
- Simulate Nominal types (DTDD)
- class private, brands, intersect, generics
- References