Why can't i assign class to type with less properties?

前端 未结 0 472
耶瑟儿~
耶瑟儿~ 2021-02-01 15:04

In the following example:

class C {
  constructor(public tag: T) {}
  static create

(tag?: P): st

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