Deep Dive into Advanced TypeScript: A Live Coding Expedition
summary
Hands-on live coding that builds concrete TypeScript utilities: a to‑do demo that lives purely in types, a mapped‑type event system with template literal keys and Capitalize, template‑literal validators for RGB and CSS tokens, conditional types using never for compile‑time empty‑string and exhaustive‑switch safety, infer/awaited recursion to unwrap nested Promises and generate fixed‑length tuples (recursion limit ~999), a typed Angular reactive‑form path generator, branded primitives for email/positive‑number safety, and a 40‑line compile‑time math‑expression validator; code on GitHub.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 2:11Mapped types
- 6:01Template literals
- 10:31Never type and conditionals
- 18:24Infer and recursion
- 27:53Recursive path types
- 34:24Branded types and wrap-up
related talks
59mA Deep Dive into Advanced TypeScript: A Live Coding Expedition
43mA 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
44mA Deep Dive Into Advanced TypeScript: A Live-Coding Expedition
01h 01mAdvanced TypeScript Type Utilities
31mTypeScript for JavaScripties
54mThe Fun Side of Advanced TypeScript: An Interactive Coding Session
