A Deep Dive into Advanced TypeScript: A Live Coding Expedition
summary
Live-coded TypeScript that actually compiles: a recursive Tuple generator that builds fixed‑length readonly tuples until the compiler recursion cap (~999) hits, map + template‑literal types that auto‑produce margin/padding permutations and strict string pattern types, a small CSS validator in TypeScript and an arithmetic‑expression validator that rejects invalid forms at type level, exhaustive switch checks using never/satisfies for runtime + compile‑time safety, and branded types with assertion type‑guards; code and examples live on the uploader's GitHub.
AI-written summary · about
chapters (14)
- 0:00Advanced TypeScript patterns
- 1:23Dynamic event handlers with mapped types
- 5:39String formats with template literal types
- 7:05CSS validation with mapped and literal types
- 10:11Compile-time safety with never type
- 15:49Exhaustive type checking with satisfies
- 16:10Recursive types for fixed-length arrays
- 22:27Type safety with branded types
- 31:41Domain-specific validation with merged types
- 33:51Q&A: never and intrinsic types
- 39:03Q&A: branded types and validation
- 40:47Q&A: TypeScript tools and plugins
- 41:30Q&A: type inference and utilities
- 42:12Closing remarks
related talks
59mA Deep Dive into Advanced TypeScript: A Live Coding Expedition
48mDeep Dive into Advanced TypeScript: A Live Coding Expedition
44mA Deep Dive Into Advanced TypeScript - A Live Coding Expedition
44mA Deep Dive Into Advanced Typescript: A Live Coding Expedition
44mA Deep Dive Into Advanced TypeScript: A Live-Coding Expedition
54mThe Fun Side of Advanced TypeScript: An Interactive Coding Session
38mSafer TypeScript
52mTypescript Deep Dive
