What you will be able to do
- Model domains so invalid states fail at compile time
- Write generics that stay readable six months later
- Narrow types confidently with guards and predicates
- Type API boundaries without lying to yourself
- Adopt strict mode incrementally on a large codebase
About this course
A pragmatic tour of TypeScript as it is actually used on shared codebases: modelling domains so illegal states will not compile, using generics without writing unreadable signatures, and adopting strictness in a repository that already has forty thousand lines. Includes the migration playbook that has worked on three production codebases.
Curriculum
3 sections · 9 lessons
- 1Unions, narrowing and impossible statesDiscriminated unions as the single highest-value TypeScript pattern.Preview20 min
- 2Branded types for identifiersStopping a UserId being passed where an OrderId belongs.15 min
- 3Readonly, const and immutability that holdsWhat the compiler enforces and what it merely suggests.14 min
Before you start
- Solid JavaScript
- Some exposure to TypeScript syntax
Student reviews
4.8 from 6
Léo Fontaine
19 Aug 2026The instructor clearly does this for a living
Every example smells like it came from a real codebase rather than a tutorial. The asides about what goes wrong in production were the most valuable part for me.
3 found this helpful
Hana Kimura
19 Aug 2026Excellent, though it moves quickly
Superb content and no filler at all. I did have to rewatch two lessons at 0.75x. If you are brand new to the subject, budget extra time for the middle section.
25 found this helpful
Daniel Osei
19 Aug 2026Worth it for the case study alone
The final project is genuinely realistic — messy inputs, ambiguous requirements, the lot. I have already reused the structure at work twice.
20 found this helpful
Sofía Marchetti
19 Aug 2026Finally, the why and not just the how
I have taken four courses on this topic and this is the first one that explained the underlying model instead of walking me through syntax. The section on validation alone changed how I work.
15 found this helpful
Nadia Petrova
19 Aug 2026The quiz actually taught me something
I got two questions wrong and the explanations made the reason obvious immediately. That is a rarer thing than it should be.
10 found this helpful
Ryan Whitfield
19 Aug 2026Finally, the why and not just the how
I have taken four courses on this topic and this is the first one that explained the underlying model instead of walking me through syntax. The section on validation alone changed how I work.
28 found this helpful