Hacker News new | past | comments | ask | show | jobs | submit
In that case you can just use object literals `as const`.