TypeScript
TypeScript Intermediate: Utility Types, Narrowing & Advanced Types
Go beyond the basics: compose types with Partial, Pick, Omit & Record, narrow unknown values safely with type guards and predicates, build mapped and template literal types, constrain and default generics, write function overloads, and use satisfies to keep precise inference.
7 lessons
Start the first lessonCurriculum
- 1Utility Types: Partial, Pick, Omit & Record๐ quiz
- 2Type Narrowing: unknown, Guards & Predicates๐ quiz
- 3Mapped & Template Literal Types๐ quiz
- 4The satisfies Operator & Const Assertions๐ quiz
- 5Generic Constraints & Default Type Parameters๐ quiz
- 6Function Overloads & Call Signatures๐ quiz
- 7Final Project: Build a Typed Settings Validator
Every lesson is open, take them in order or jump straight to what you need.