DevUtilsApp / DevUtils-app

All-in-one Toolbox for Developers. Native macOS app.
https://devutils.com
Other
4.09k stars 222 forks source link

[Feature] JSON to typescript types #76

Open figassis opened 3 years ago

figassis commented 3 years ago

It would be awesome to be able to convert json objects into corresponding typescript types, like this tool https://jvilk.com/MakeTypes

trungdq88 commented 3 years ago

Thank you for the feature request, I'll look into this!

jlarmstrongiv commented 2 years ago

@trungdq88 Here’s two other examples:

Along with an implementation:

Based on https://github.com/evestera/json_typegen which supports other useful outputs like json schema too