Create union type from const of enums

后端 未结 0 1394
谎友^
谎友^ 2020-11-22 09:08

Given the following pattern where a const is created from a set of enums:

enum ServiceKeys {
  SERVICE1 = \'Service1\',
  SERVICE2 = \'Service2\',
}

enum Ser         


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