DEV Community

Discussion on: TypeScript Enums: 5 Real-World Use Cases

Collapse
 
sunpietro profile image
Piotr Nalepa

You can change it to: const enum loadingState and it will work the same without being smarter giving as const at the end.