Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 663 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 663 Bytes

TS-GoodCode

TypeScript advanced types pattern - slides and sample of my session XE-GoodCode + some extra.

Agenda: TypeScript type-system

  • 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