Typescript unable to assert the type of a concrete instance that inherits type

前端 未结 0 325
日久生厌
日久生厌 2020-12-12 01:32

In the following example, I\'ve created a concreate class Dialog that has a TState and TResult. The problem is that when I pass it in

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