TypeScript Best Practices Comprehensive TypeScript 7-compatible guide with 44 rules across 8 categories, covering compiler configuration, type-system performance, async code, modules, safety, and measured runtime optimization. When to Apply Reference these guidelines when: - Configuring tsconfig.json for a new or existing project - Writing complex type definitions or generics - Optimizing async/await patterns and data fetching - Organizing modules and managing imports - Reviewing code for compilation or runtime performance Rule Categories by Priority | Priority | Category | Impact | Prefix |…