Typescript generics for mapping similar types

后端 未结 0 557
南笙
南笙 2021-02-13 05:09

I have a set of similar types that look like this

interface NativeInput {
 [key:string]: NativeAttribute
}

interface Mappe         


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