Conditional Types
Coming SoonWrite types that branch based on other types using extends and infer — the foundation of most advanced utility types.
Foundationaltutorial
Master TypeScript through structured lessons. From foundational concepts to advanced patterns, build your expertise step by step.
Lessons in progress
Write types that branch based on other types using extends and infer — the foundation of most advanced utility types.
Transform existing types by iterating over their keys. Build flexible type transformations without repeating yourself.
Master the built-in utility types — Pick, Omit, Partial, Required, ReturnType, and more — with real use cases.
Bridge compile-time and runtime safety with Zod. Parse external data with schemas that mirror your TypeScript types.