The Fun Side of Advanced TypeScript: An Interactive Coding Session
summary
Builds a working Wordle fully in TypeScript types (about 21 lines) and a type-level calculator that does increment, decrement, add, multiply, whole division and modulo by using recursive conditional types, template literal inferencing and tuple-length tricks; results show as VS Code inlay hints so all evaluation happens at compile time. Demonstrates practical limits — TypeScript caps recursion (~1000) and massively large type programs hit compiler limits — but the demos compile and work. compile-time arithmetic template-literal + infer
AI-written summary · about
chapters (11)
- 0:00Advanced TypeScript intro
- 1:59Building Wordle with types
- 10:23Conditional types & literals
- 15:41Recursion in types
- 21:27IndexOf function in types
- 26:01Wordle to calculator
- 29:31Incrementing numbers
- 33:31Adding numbers in types
- 36:23Multiplying numbers
- 42:07Why advanced TS matters
- 45:19Q&A
related talks
44mA Deep Dive Into Advanced Typescript: A Live Coding Expedition
44mA Deep Dive Into Advanced TypeScript: A Live-Coding Expedition
59mA Deep Dive into Advanced TypeScript: A Live Coding Expedition
48mDeep 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
42mLogic with Advanced TypeScript Types
51mTypeScript - Beyond the Basics
