TypeScript: Return the typing of the input object

后端 未结 0 1603
难免孤独
难免孤独 2020-12-31 18:28

Let\'s say I have a function that receives a callback and it will return the object returned by the callback, Is there any ways that I can achieve something like this ?

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