Stop Writing TypeScript Interfaces by Hand for API Responses
Here is something that happens constantly. You get a new API endpoint to integrate. The response JSON looks like this:
{
"id": 1847,
"user": {
"name": "Priya",
"email": "priya@example.com",
"role": "admin",
"preferences": {
...
helloashish.hashnode.dev3 min read