According to the documentation, TypeScript string enums are not supposed to do reverse mapping. But when I run the following code on jsfiddle it works:
enum Person {
firstName = "First Name",
lastName = "Last Name",
}
document.querySelector("#app").innerHTML = Person["Last Name"];
Demo: https://jsfiddle.net/u73x80e1/
What am I missing?