TypeScript Best Practices Comprehensive performance optimization guide for TypeScript applications. Contains 45 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation. 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 | |----------|--…