DEV Community

Discussion on: How to build Typescript String literal Types from Objects

Collapse
 
cubiclebuddha profile image
Cubicle Buddha

Yea when I saw const in the release notes for TypeScript I was kind of like “uh oh okay whatever.” But once I saw that I could use it for make an object of constants... well, it really blew my mind. Thanks for the reminder of what TypeScript makes possible.