News for hackers. Stuff that matters.
Re:TypeScript enums: use cases and alternatives by madeofpalk on Monday January 20, 2025 @09:43AM (#42769213)
you just tell typescript to stay away from import syntax, and use node-native resolution and it all just works.

its 2025 and node is finally good :)

Re:TypeScript enums: use cases and alternatives by dunham on Monday January 20, 2025 @12:18PM (#42770817)
It would be nice if node did tail call optimization, but that seems unlikely at this point (v8 added and then removed it). I've been using bun as a backend for my toy language because of this.