Re:TypeScript at Slack
by harg on Wednesday April 12, 2017 @04:22AM
(#14095786)
What about enums? https://www.typescriptlang.org/docs/handbook/enums.html
[ Parent
| on HN ]
Alright, I'll give you enums. I don't actually use enums because they have been superseded by string union types, which are generally better. (And are just types)