3 ms·
TypeScript/ES6 is such a great language with a feature set far ahead of other languages in many ways. The lack of enums though is a sore spot. I really hope tha
by fixprix 2y ago
TypeScript/ES6 is such a great language with a feature set far ahead of other languages in many ways. The lack of enums though is a sore spot. I really hope that proposal you mentioned can move forward.
Also you can improve your implementation with Object.freeze(Foo) and { one: Symbol("1") }