The string of an enum can be obtained as below:
enum eURL {
projects
}
let x:string = eURL[eURL.projects]; //x= 'projects'
However, if I use string enums as in the example below, then how can I get the string value "Help Me" from the enum?
enum myEnum {
projects = "Help Me",
}
let x:string = myEnum[myEnum.projects]; // returns undefined.