DEV Community

Discussion on: How Typescript Enums Work

 
smpnjn profile image
Johnny Simpson

Yeah, both are valid, enums can become especially useful in large projects with many developers where you want to standardise the options developers have at their disposal for colours, etc.