I have a typescript enum myEnum (with string values) and a function foo returning a string. I need to convert return value of foo to <
myEnum
foo