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
anamexis
16 hours ago
|
on: TypeScript enums: use cases and alternatives
In that case you can just use object literals `as const`.
reply