<>
22
TypeScript config and tooling

TypeScript config and tooling

Stop fighting the compiler. Eight lessons on tsconfig, module resolution, and the build-time tooling that makes types actually catch bugs.

~ 115 min·8 lessons·updated apr 2026

What you'll learn


Lessons

Read in order. Each lesson stands on its own, but the order is deliberate.

8 lessons · ~115 min total

  1. 01
    tsc vs bundler-driven type-checking
    Vite stripped your types and shipped. Why your bundler is not your type-checker.
    14 min
  2. 02
    The tsconfig.json tour
    The flags that actually matter, walked through one real config at a time.
    17 min
  3. 03
    Strict mode in depth
    What strict turns on, and the four flags worth adding on top.
    15 min
  4. 04
    Module resolution
    How TypeScript finds the file behind every import — node, bundler, nodenext.
    14 min
  5. 05
    Path aliases
    @/components is one config away. The catch is the bundler also has to know.
    12 min
  6. 06
    Declaration files (.d.ts)
    Type-only files. Why @types exists. When you have to write one yourself.
    15 min
  7. 07
    Project references
    Splitting a monorepo into typed projects that build in the right order.
    15 min
  8. 08
    Reading tooling type errors
    The 14-line error message, decoded. Where to look first when overwhelmed.
    13 min

Prerequisites

  • · typescript-essentials
  • · Have set up at least one TS project

After this, try

  • Advanced types
  • Monorepo project references
  • Bundler internals