Skip to content

Conversation

@troyshu
Copy link
Contributor

@troyshu troyshu commented Dec 18, 2024

Linked issue: #641

This PR ensures standalone enum keys with special characters are surrounded by double quotes, making the generated enums valid TypeScript.

@troyshu
Copy link
Contributor Author

troyshu commented Dec 18, 2024

Let me know what you think @bcherny ! Thanks for all your hard work on this amazing package.

@ChengDe-Lin
Copy link

thanks @troyshu, I found this update quite useful for my case.
Hello @bcherny ~ sorry for bothering, how do you think about this PR? is there any chance you would merge it in a near future?

@bcherny bcherny merged commit 18831cb into bcherny:master Jan 14, 2025
18 checks passed
@bcherny
Copy link
Owner

bcherny commented Jan 14, 2025

Published json-schema-to-typescript@15.0.4

@bcherny
Copy link
Owner

bcherny commented Jan 14, 2025

Thanks for the contribution!

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

Successfully merging this pull request may close these issues.

3 participants