Tag: Compilers

How Type Inference Actually Works

How TypeScript gathers constraints, solves type variables, widens literals, narrows control flow, and decides when inference must stop.

2025-12-09 · 13 min read