Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include an option to export types instead of interfaces, for better intellisense #653

Open
ianengelbrecht opened this issue Feb 22, 2025 · 0 comments

Comments

@ianengelbrecht
Copy link

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.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant