Advanced TypeScript Masterclass
Discover advanced TypeScript concepts: Gain insights into compiler flags, generic types, and discriminated unions. Delve into writing error-free code and mastering complex error messages with confidence.
I've been writing code professionally for over 10 years. I value learning concepts more than learning programming languages. I believe in static typing and functional programming. I've been working at various places, ranging from tiny startups to multinational corporations. Currently, I'm leading a frontend team at SumoLogic. I love sharing my knowledge. I've been writing a programming blog for a few years. I talk at conferences and meet-ups regularly and occasionally do commercial training.
Join 3.1 million developers at
What You'll Learn
- Configure strict compiler flags (strict, strictNullChecks, noImplicitAny) in tsconfig
- Resolve noImplicitAny errors using explicit annotations, any, and visible aliasing
- Apply unknown with correct assignability and narrowing to safely handle uncertain data
- Use strict null checks, optionality, and non-null assertions to prevent null/undefined bugs
- Design generic functions and interfaces with constraints, constructors, and type propagation
- Compose union/intersection types and discriminated unions to model business rules and state machines
- Debug complex type errors by analyzing assignability, narrowing limits, overloads, and generics
Learning Roadmap
1.
Strict types
Strict types
2.
Generics
Generics
3.
Composing types
Composing types
6 Lessons
6 Lessons
4.
Advanced types
Advanced types
10 Lessons
10 Lessons
5.
TypeScript in practice
TypeScript in practice
7 Lessons
7 Lessons
Milosz Piechocki
Experienced software engineer with a passion for TypeScript. Working at SumoLogic.
Trusted by 3.1 million developers working at companies
Anthony Walker
@_webarchitect_
Evan Dunbar
ML Engineer
Software Developer
Carlos Matias La Borde
Souvik Kundu
Front-end Developer
Vinay Krishnaiah
Software Developer
Built for 10x Developers












Free Resources