TypeScript infer function return type from parameter enum values

后端 未结 0 2003
时光取名叫无心
时光取名叫无心 2021-02-13 11:47

I\'m using this function to tranform enum to an object which has enum values for properties and empty option lists for their values:

export const createDictOfEmpt         


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