TypeScript deep dives: the type system, generics, configuration, and migrating real codebases without a rewrite.
An incremental migration path from JavaScript to TypeScript — allowJs, per-file adoption, handling untyped dependencies, and what to do about the any that creeps in.
The TweakPad Team
The real differences between type aliases and interfaces — declaration merging, unions, performance and error messages — with a simple rule for choosing.
The TweakPad Team
A flag-by-flag guide to TypeScript strict mode, including noUncheckedIndexedAccess, and a practical order for enabling them on an existing codebase.
The TweakPad Team
Generics explained by what problem they solve, with constraints, defaults, inference and the conditional types you meet in real codebases.
The TweakPad Team
Partial, Pick, Omit, Record and the rest — what each one is for, when to reach for it, and the composition patterns that replace hand-written duplicate types.
The TweakPad Team