Typescript Best Practices

TypeScript coding standards covering strict tsconfig setup, interfaces vs types, type safety (unknown vs any, type guards, exhaustive checks), null handling, async/await patterns, immutability (readonly, as const), utility types, enums, file naming, and barrel file (index.ts) usage. Use whenever writing, reviewing, or refactoring TypeScript code, setting up a tsconfig.json, or making decisions about project/module structure.

TuanO20 Updated

File contents

TuanO20/awesome-skills/tree/main/typescript-best-practices commit eeb9dbbed3

Frequently asked questions

npx skillmds@latest add tuano20/typescript-best-practices