Advanced TypeScript
summary
Shows how to use mapped and conditional types to build concrete tools: creates SomePartial/SomeRequired utilities that make only selected keys optional or required, demonstrates converting an array/constants tuple to a union via Tuple[number], and explains keyof plus Exclude/Extract to avoid pulling array prototype methods into unions. Implements a type‑safe lens that produces a nested key union of every reachable path and a reusable sort that accepts any nested key and sorts arrays by nested properties with full compile‑time intellisense.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:50Union types explained
- 9:20Built-in utility types
- 23:21Creating custom utility types
- 28:42Real-world type-safe sort function
- 36:13Type-safe lenses with mapped types
- 46:17Q&A and closing
related talks
52mTypescript Deep Dive
01h 01mAdvanced TypeScript Type Utilities
44mA Deep Dive Into Advanced TypeScript - A Live Coding Expedition
01h 33mAdvanced TypeScript
40mHow to model your crazy data in TypeScript
21mAdvanced TypeScript
01h 05mBusy TypeScript Developer’s Guide to Advanced TypeScript
27mDecoding Perplexing TypeScript
