Typescript automatically get interface properties in a class

后端 未结 3 903
一生所求
一生所求 2020-11-29 12:04

Hello TypeScript experts.

I have the following code but I have to repeat the interface properties in the class otherwise I get:

Class incorrec

3条回答
提交回复
热议问题