Is there a way to retrieve the string value of a string literal type without having to define it twice, similar to the typeof operator in C#?
myStringLiteral: 'STRING TYPE';
myString: string = typeof(myStringLiteral); // I want myString to be equal to 'STRING TYPE'...
Alternatively, is it possible to do the opposite:
const myString: string = 'STRING TYPE';
myStringLiteral: myString;