json2ts is a Brackets Extension which converts a JSON to TypeScript interfaces.
You can browse and install extensions from within VS Code. Press Ctrl+P
and narrow down the list commands by typing ext install json2ts
.
json2ts converts a JSON from clipboard to TypeScript interfaces with cmd+alt+V
or ctrl+alt+V
.
Another way is, to copy a REST-Service URL to clipboard and insert TypeScript interfaces with cmd+alt+X
or ctrl+alt+X
.
Feel free to submit a pull request if you find any bugs (to see a list of active issues, visit the Issues section). Please make sure all commits are properly documented.
MIT-licensed
** Enjoy! **