Avoiding fields declaration duplication in interface and class definition

前端 未结 0 1570
心在旅途
心在旅途 2021-01-19 15:08

I have an interface like

interface I {
  a : string;
  b : number;
  c : string;
}

And now I\'m declaring a class which will have public mem

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