How to convert runtime string to string enum

前端 未结 0 1079
天命终不由人
天命终不由人 2020-12-07 21:30

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 <

相关标签:
回答
  • 消灭零回复
提交回复
热议问题