TypeScript Code Style Guide Types and Type Safety - Avoid explicit type annotations when TypeScript can infer - Avoid implicitly ; explicitly type when necessary - Use accurate types: prefer over or - Prefer for object shapes (e.g., React props); use for unions/intersections - Prefer over plain - Prefer over over - Avoid meaningless null/undefined parameters; design strict function contracts - Prefer ES module augmentation ( ) over ; do not introduce -based extension patterns - When a type needs extensibility, expose a small mergeable interface at the source type and let each feature/plugin a…