Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

get enum value dynamically typescript

MyEnum[x as keyof typeof MyEnum]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #enum #dynamically #typescript
ADD COMMENT
Topic
Name
4+4 =