Day 173 of Learning MERN Stack A developer documented Day 173 of their full-stack engineering track, focusing on TypeScript's type inference versus type annotations. The developer demonstrated how the compiler automatically infers types, such as assigning a string to a variable, and highlighted the benefits for code maintainability. Hello Dev Community 👋 It is officially Day 173 of my full-stack engineering track Today, I explored one of the core mechanisms that make TypeScript powerful and developer-friendly: Type Inference vs. Type Annotations 📘⚡ Understanding when to let the TypeScript compiler infer types automatically versus declaring them explicitly makes codebases cleaner and more maintainable. As captured in my code editor setup index.ts : js typescript let drink = "Chai peyo"; // Inferenced as type string // drink = 0; // Error: Type 'number' is not assignable to type 'string'.