SpinTheMic
Pro

Interview practice question

Removing thousands of any types from a legacy codebase

Frontend Engineering · TypeScript · Experienced

A legacy TypeScript codebase has thousands of any types. How would you reduce them at scale?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Measure and prioritise hot spots (shared modules, boundaries).
  • Lint rule ratchet (no new any).
  • Codemods/inference tools.
  • unknown at boundaries with validation.
  • Team ownership and progress tracking.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics