Typescript casting always returns “object”

后端 未结 0 1909
梦谈多话
梦谈多话 2021-02-14 20:59

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         


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