News for hackers. Stuff that matters.
Re:TypeScript enums: use cases and alternatives by moogly on Monday January 20, 2025 @08:11AM (#42768338)
I banned enums in TS codebases I contributed to _over 6 years ago_ when Babel 7 w/ TS transpilation support came out, and namespaces along with old TS modules even earlier than that when moving over to JS modules.

If you ask me, both features have been de facto deprecated for ages now.

The future has been here for a while.

There are no comments on this comment yet.