Skip to content

TypeScript that means something

Use the type system to make wrong states unrepresentable, so the compiler fails the bug before a test has to.

Syllabus

Modelling with unions

Generics that stay honest

Types from data