I have a below enum in TypeScript:
enum RoleTypes {
None,
Admin,
SuperAdmin
}
When I run the following code:
var roleName = RoleTypes[RoleTypes.SuperAdmin];
the value of the variable roleName is SuperAdmin.
Is it possible to change it to a custom name 'Super Administrator', and how do I do this?