Bidirectional enum in TS

后端 未结 0 1470
陌清茗
陌清茗 2021-01-13 16:37

I have enum like:

enum MyEnum {
   key1 = \'val1\'
   key2 = \'val2\'
}

But I haven\'t idea how to implement SomeType that does

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