Typescript Strict

Use strict TypeScript patterns: Use when maintaining consistent code style. Style category skill.

majiayu000 Updated 567 repo stars

File contents

TypeScript Strict

Use strict TypeScript patterns:

  • Use explicit types (avoid 'any')
  • Use 'unknown' for external data and validate
  • Handle null/undefined properly with optional chaining
  • Use type guards and type narrowing
  • Prefer interfaces for object shapes

majiayu000/claude-skill-registry-data/tree/main/development/typescript-strict-omniaffixdave-sessionguardian commit 056248ee26

Frequently asked questions

npx skillmds@latest add majiayu000/typescript-strict-7