Re:TypeScript enums: use cases and alternatives
by homebrewer on Monday January 20, 2025 @08:37AM
(#42768584)
Use `const enum Foo`, they leave no traces in the transpiled JS and provide good IDE experience.
[ Parent
| on HN ]
There are no comments on this comment yet.