TypeScript: Infer type of abstract method's implementation

后端 未结 0 446
日久生厌
日久生厌 2021-02-04 19:05

I would like to have a base class with a property whose type is inferred from a method\'s return value, which method is implemented by descendent classes.

So, the base cl

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