Stop using any — here’s how to type your messy API responses correctly

You cast the API response to any to stop TypeScript complaining. It worked. Now a field changed shape three months later and the bug is in…