TypeScript strict mode is the single biggest quality improvement you can make to your codebase. This guide explains every strict flag, how to fix the errors they surface, and how to migrate an existing project incrementally.
Type guards are the foundation of runtime type safety in TypeScript backends. Learn typeof, instanceof, discriminated unions, custom predicates, and assertion functions with real API validation patterns.
Mapped types let you generate new types by transforming existing ones. This guide covers key remapping, modifier stripping, conditional filtering, deep utilities, and real backend patterns for eliminating type duplication.
Conditional types are TypeScript's type-level if/else. This guide covers infer, distributive behavior, recursive types, and real patterns like API response handling, type-safe builders, and framework utilities.
Template literal types let TypeScript reason about string patterns at compile time. Learn how to generate event names, build route types, validate string formats, and create type-safe APIs using template literals.