Using conditional types to narrow returned instance from factory function

前端 未结 0 1384
滥情空心
滥情空心 2020-11-22 00:25

The code below is reflective of a problem I\'m trying to solve. I\'ve got a interface specifying some object, that has two real concrete implementations. One impl\'s methods

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