Typing for a function that dispatches a call by name

前端 未结 0 973
鱼传尺愫
鱼传尺愫 2021-01-15 17:32

I\'d like to write a function that calls another function on an object, by name, and correctly infers the return and argument types. Roughly, a function with a signature lik

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