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

feat: Add a way to declare enums in interfaces #117

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MuaDDuB
Copy link
Contributor

@MuaDDuB MuaDDuB commented Aug 2, 2024

I added a way to declare enums for a string property when used inside an interface.
This is not done the same way as other declarations, but it works with a minimal impact on the lib code and is not so much annoying I think for developers.

A better way should probably be able to parse real typescript enums, but for the moment, it can be sufficient.

@MuaDDuB
Copy link
Contributor Author

MuaDDuB commented Sep 6, 2024

Any thoughts on this one @ad-on-is ? 😄

Get latest from main repo
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.

1 participant