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

Rename 'enum' function #11

Closed
m-bednar opened this issue Jan 30, 2020 · 1 comment
Closed

Rename 'enum' function #11

m-bednar opened this issue Jan 30, 2020 · 1 comment

Comments

@m-bednar
Copy link

It would be great to rename enum function, to something else (e.g. oneOf, enumerate...), because 'enum' is typescript keyword, so it needs to be aliased everytime, when importing.

@andrenarchy
Copy link
Member

Thanks, good idea! I published 2.0.0 which renames it to enumerate.

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

2 participants