Const objects are better than enums in TypeScript.
First, they're real JS syntax, and I generally like to use only the type features of TypeScript.
Second, they can be composed and decomposed in a type-safe way, so you can build "enums" from other "enums"...
Here's an example: