typeof class or any of its subclasses instead of instance of class

后端 未结 0 418
天涯浪人
天涯浪人 2020-12-01 02:17

I have these classes

class Foo {}

class A extends Foo {}

class B extends Foo {}

now I want to make an interface that has property typ

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