TypeScript Guidelines Standards and best practices for TypeScript development with modern tooling. Follow these guidelines when writing or modifying TypeScript code. Design Principles Apply DRY, KISS, and SOLID consistently. Prefer functional approaches where relevant; use classes for stateful behavior. Use composition over inheritance. Each module should have a single responsibility. Use dependency injection for class dependencies. Code Style - Naming : Descriptive yet concise names for variables, functions, and classes - Documentation : JSDoc comments for public APIs, complex logic, and non…