DEV Community

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

Collapse
 
errorgamer2000 profile image
ErrorGamer2000 • Edited

Similar to Volodymyr Yepishev, I personally think that they are extremely useful for error codes, because you could seperate them into named groups that are easily readable. This would probably be the most useful in larger libraries.