Closed gcanti closed 6 years ago
(numeric) enums look unsafe
enum
const enum E { A = 1, B = 2 } declare function f(e: E): void f(1000) // WAT
Yeah, those numeric enums will catch a few people out I expect. Not intuitive.
Indeed, I never used an enum before hyper-ts, I thought is was a good idea but didn't expect that weird behavior
hyper-ts
Released (@next)
@next
(numeric)
enum
s look unsafe