Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>without understanding that the first only adds type declarations

https://www.typescriptlang.org/docs/handbook/enums.html




Not forever if this ever comes through,

https://github.com/Jack-Works/proposal-enum




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: