Problem: You’re using TypeScript and you don’t want to manually define types...


Problem: You’re using TypeScript and you don’t want to manually define types for each REST endpoint response.

Solution: quicktype.

Paste JSON into quicktype, and it generates a TypeScript type. 🔥

Quicktype supports many other languages too.

https://app.quicktype.io/

Oh and there’s a @code extension too

https://marketplace.visualstudio.com/items?itemName=quicktype.quicktype

View original on X