A practical series covering everyday TypeScript — types, generics, utility types, tooling, and real-world patterns.
Start with Cheatsheet 01 — TypeScript Basics .
A practical series covering everyday TypeScript — types, generics, utility types, tooling, and real-world patterns.
Start with Cheatsheet 01 — TypeScript Basics .
Cheatsheet: types, interfaces, type aliases, unions, narrowing, assertions.
Cheatsheet: tsconfig fields, strict family, moduleResolution, NodeNext, project refs.
Cheatsheet: generic functions, classes, constraints, defaults, conditional inference.
Cheatsheet: built-in utility types with practical examples and gotchas.
Cheatsheet: narrowing techniques, custom guards, assertion functions, exhaustive checks.
Cheatsheet: tagged unions, exhaustive switch, ts-pattern, Result types.
Cheatsheet: T extends …, infer, distribution, mapped types, key remapping.
Cheatsheet: ESM vs CJS, package.json exports, dual builds, type-only imports.
Cheatsheet: writing .d.ts files, ambient modules, global types, triple-slash.
Cheatsheet: React.FC vs explicit, props with children, event types, useRef, generic components.