You join a large TypeScript project with lots of any and strict turned off. How would you go about tightening the typing, and which type-level decisions do you consider key for maintainability?
~4 min by voice
How to approach it
This checks whether a senior can lead a gradual migration of a large codebase to strict typing without stopping development, and whether they understand the limits of the type system: types don't check data at runtime, and complex types have a cost too.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.