Made a generic fonction returning type of a key of an enum

前端 未结 0 1960
执念已碎
执念已碎 2020-12-30 19:32

I have this enum (in a constant object because TS enums can\'t have types for values):

export const DataType = {
    co         


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