DEV Community

Discussion on: We don't have to use Enums on TypeScript? 【Discussion】

Collapse
 
bwca profile image
Volodymyr Yepishev

Well, if I had numerical values representing some status codes, I would prefer them in an enum, since that would be more declarative than a bunch of magic numbers, but that's just my preference 🥴