How to convert from object from interface A to interface B by deleting property

后端 未结 0 992
灰色年华
灰色年华 2020-12-10 03:25

Assuming I have two interfaces:

interface A {
  a: string;
  b: string;
  x: string;
}

interface B {
  a: string;
  b:         


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