Assert class has only properties of an interface

前端 未结 0 1893
眼角桃花
眼角桃花 2021-01-24 20:56

How to make sure a class implements an interface, and has no properties besides those needed to implement that interface?

interface A {
  a: string;
}

class Klas         


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