DevUtils-app
DevUtils-app copied to clipboard
[Feature] JSON to typescript types
It would be awesome to be able to convert json objects into corresponding typescript types, like this tool https://jvilk.com/MakeTypes
Thank you for the feature request, I'll look into this!
@trungdq88 Here’s two other examples:
- https://app.quicktype.io/
- https://transform.tools/json-to-typescript
Along with an implementation:
- https://github.com/ritz078/transform/blob/master/pages/json-to-typescript.tsx
Based on https://github.com/evestera/json_typegen which supports other useful outputs like json schema too