You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This holds true for standard enums as well, a const enum was just a more succinct example.
While I'm not sure why anyone would want to do this, it does seem that valid TypeScript should compile to valid javascript, and this will obviously cause a runtime error.