Stop using `any` — here's how to type your messy API responses correctly
Apr 6 · 12 min read · 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 production. Here's how to type messy API responses properly —
Join discussion





























