Is there a better way to have a class use an interface in Typescript?

前端 未结 0 761
没有蜡笔的小新
没有蜡笔的小新 2020-12-03 12:30

I have an interface with 13 properties. Do I really have to repeat them 3 times in the class? This is the only way I can make the compiler happy.

export inter         


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