TypeScript · Type Inference · Junior · Best Practice
When should you annotate vs rely on inference?
Short Interview Answer
Annotate exported APIs and boundaries; infer locals when obvious.
Detailed Explanation
Explicit return types document contracts and catch impl drift.