Modern Typescript

Modern TypeScript 5.x idioms — strict tsconfig (strict, noUncheckedIndexedAccess), the type system (unions/intersections, generics + constraints, narrowing, discriminated unions, unknown vs any, utility types, satisfies, as const, template-literal types), ESM & moduleResolution, and type-safe patterns (branded types, exhaustiveness). Use when configuring a tsconfig, writing or reviewing type-safe TypeScript, designing generics or a discriminated union, or decoding a tsc error.

stanfish06 Updated 12 repo stars

File contents

stanfish06/skillquarium commit 370786821b

Frequently asked questions

npx get-skill add stanfish06/modern-typescript