Javascript is not enabled. This site can still works but it'll be more interactive when javascript is enabled.
loading...
Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
homebrewer
12 hours ago
|
on: TypeScript enums: use cases and alternatives
Use `const enum Foo`, they leave no traces in the transpiled JS and provide good IDE experience.
reply