json-schema-to-typescript
json-schema-to-typescript copied to clipboard
Include an option to export types instead of interfaces, for better intellisense
Seems types give better hints than interfaces, see example in the attached image. So I'm currently generating the interfaces, then changing them to types with a script, all in a build step. Would be nice if there was an option in json2ts to generate types directly.