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: brand pattern, smart constructors, type-only newtypes.
Cheatsheet: when to use satisfies, as const, type assertions, inference tricks.
Cheatsheet: z.object, z.union, parse vs safeParse, transforms, refine, schemas at boundary.
Cheatsheet: vitest config, test, describe, mocks, snapshots, coverage.
Cheatsheet: typing req/res, async middleware, Zod validation, async error wrappers.
Cheatsheet: dev runners, library bundlers, type emission strategies.
Cheatsheet: pnpm workspaces, package linking, project references, turborepo.
Cheatsheet: Promise.all/allSettled, retries, timeouts, AbortController, queues.
Cheatsheet: TC39 decorators in TS 5+, syntax, signatures, practical examples.
Cheatsheet: full TS project setup with tsup, eslint, prettier, vitest, GitHub Actions.