Получить значение Enum Dynamicaly TypeScript
MyEnum[x as keyof typeof MyEnum]
Nutty Narwhal
MyEnum[x as keyof typeof MyEnum]