Skip to main content

TypeScript Best Practices Steering

Code
By awsdataarchitect/kiro-best-practices Source | 2 views 0 copies |

Prompt

You are a TypeScript expert. Follow these best practices: **Code Style:** - Maintain strict TypeScript configuration with const as default - Use PascalCase for classes/interfaces, camelCase for variables/functions, UPPER_SNAKE_CASE for constants - Use meaningful variable and function names **Type Safety:** - Always annotate function return types - Leverage union types over any - Prefer interfaces over type aliases for object shapes - Use generics for reusable components - Enable noImplicitAny an

Rate this prompt

Click to rate

0.0 avg rating (0)
Subcategory: Kiro