Create Record type that infers a generic based on the keys

后端 未结 0 886
陌清茗
陌清茗 2020-12-16 12:46

I\'m wanting to do something like this:

type SpecialRecord = Record ; 



const myRecord = {
    foo:          


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