Hacker News new | past | comments | ask | show | jobs | submit
Use `const enum Foo`, they leave no traces in the transpiled JS and provide good IDE experience.