Stop creating Typescript interfaces manually (use quicktype)

preview_player
Показать описание
Creating Typescript Interfaces doesn't have to be painful, it can be as simple as running a single command!

When I was working with the GitHub API a lot of JSON was returned, so I was keen to find a way to automate this process of creating the Typescript interfaces. I came across various tools, but the one that caught my eye was quicktype.

---
## MY BLOG AND NEWSLETTER

## SERVICES I USE AND RECOMMEND

Some of these might be affiliate links but they're no extra cost you and you might get a discount if you sign up.
---

#typescript #nodejs #quicktype

Stop creating Typescript interfaces (manually)
Рекомендации по теме
Комментарии
Автор

What a cool idea, thanks for sharing!!

korneliafreydev
Автор

Wow, I should defeinitely try this lib. Thanks for sharing!

nneddenn
Автор

I usually make a global import for all files that go like this:
type number = any
type string = any
type object = any

It makes my code always work seamlessly. Hoping to push everything to production and enjoy my results

/s

mysterry
Автор

My terminal is filled with punycode warnings too...

jovanjevtic
join shbcf.ru