Articles for people who
ship the stack
Original rewrites on React, Node.js, TypeScript and AI — practical notes from the same engineering practice behind our operator software. Article bodies are in English.
Tagged: generics
TypeScript Power Tools: extends, infer, keyof Maps, and as Remaps
Build library-grade types by combining conditionals, inference, mapped loops, and key remapping—the same toolkit behind Zod and tRPC.
1192 wordsRead articleTypeScript 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.
2143 wordsRead articleTen 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.
2617 wordsRead articleTen 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.
2744 wordsRead articleTypeScript 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.
3750 wordsRead articleReplacing 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.
1834 wordsRead articleTypeScript 6.0 Explained: Compiler Shifts and Mastering Generics
Breaks down TypeScript 6.0's transitional compiler changes and shows how to apply generics to build safer, more reusable type-level code.
2723 wordsRead article
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.