Typescript infer “keys of parent” as type

后端 未结 0 611
日久生厌
日久生厌 2020-12-02 23:32

How can I infer the keys of the parent as type of a nested property?


interface List {
    [key:string]: Defini         


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