Back to the Catalog
typescript
javascript

TypeScript Type System: Deep Cuts

20 questions

Narrowing you can trust, the any/unknown/never/void lattice, structural-typing surprises, and literal widening with as const & satisfies. Every explanation compiles the snippet so a wrong answer becomes a lesson.