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

[Feature] Don't use objDeepFreeze for enums #286

Closed
nev21 opened this issue Jun 26, 2024 · 0 comments
Closed

[Feature] Don't use objDeepFreeze for enums #286

nev21 opened this issue Jun 26, 2024 · 0 comments
Milestone

Comments

@nev21
Copy link
Contributor

nev21 commented Jun 26, 2024

To avoid including all of the objDeepFreeze references when only using the createEnum change the way it generates the frozen map values.

Suggestion:
Use Object.defineProperty() to set the key / values and still continue to block changes.

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

No branches or pull requests

1 participant