Converts type alias for a set of string literals to an enum with string values corresponding to the initial literals