how to extract one type from object literal type in typescript?

前端 未结 0 1324
无人共我
无人共我 2020-12-02 00:19

for example i have this type:type mixed = {k1: string, k2: number}

now i want another type(could be generated from some generic) with only string

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