DEV Community

Discussion on: The Dangers of TypeScript Enums

Collapse
 
dobis32 profile image
Scott VanderWeide

Perhaps a given scenario where the non-constant value can easily be computed? There's probably a better way of handling that kind of scenario that doesn't involve a enum; I can't imagine using a non-constant value is considered best-practice.