Omit on unions in TypeScript

后端 未结 0 1074
旧时难觅i
旧时难觅i 2021-01-21 16:32

Supposed I have two interface, X and Y, that both share a few fields, but have independent fields as well:

interface X {
  abc: number;
         


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