Typescript casting always returns “object”

后端 未结 0 964
攒了一身酷
攒了一身酷 2021-02-14 21:00

Lets say I have two interfaces which have two the same members id, and name:

export interface InterfaceA {
    id: number;
    name: string;
    //some other memb         


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