Skip to content

TypeScript advanced types pattern for my Session XE-GoodCode

License

Notifications You must be signed in to change notification settings

dmorosinotto/TS-GoodCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

TypeScript advanced types pattern for my Session XE-GoodCode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published