Articles for people who
ship the stack
Rewrites on React, Node.js, TypeScript and AI. A translated body is shown when it exists. If it does not, you see the English text and a note that says so.
Tagged: Generics
TypeScript Power Tools: extends, infer, keyof Maps, and as Remaps
Library-grade TypeScript types from conditional types with extends, infer, keyof mapped loops and as remapping, the same generics toolkit behind Zod and tRPC.
5 min readTypeScript is not slow—over-engineered types are
Generic soup, premature DRY on types, optional-flag state, and type-level cleverness hurt velocity. Prefer simple interfaces, discriminated unions, and measured tsc costs.
9 min readTen TypeScript Habits That Keep Large Codebases Readable and Safe
Learn ten practical TypeScript habits, from meaningful generics and narrowing to exhaustive checks, readonly and strict tsconfig, that keep growing codebases maintainable.
11 min readTen TypeScript Patterns That Turn Runtime Bugs into Compile Errors
Learn ten TypeScript techniques, from discriminated unions and satisfies to branded types and infer, that let the compiler reject invalid states before your code ships.
12 min readTypeScript Fundamentals: From First Annotation to Generics and Strict Mode
A structured walkthrough of TypeScript's type system, from primitives and inference to discriminated unions, generics, utility types and a strict tsconfig.
16 min readReplacing TypeScript's `any`: Six Type-Safe Patterns for Common Cases
Learn practical, type-safe alternatives to TypeScript's `any` — including unknown, generics, discriminated unions, and exhaustive checks — for handling unpredictable data.
8 min readTypeScript 6.0 Explained: Compiler Shifts and Mastering Generics
TypeScript 6.0 as a transitional release: the compiler and config shifts ahead of 7, then generics applied to build safer, reusable type-level code in practice.
12 min read
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.