Omit first parameter from functions in a JSON object

后端 未结 0 1865
独厮守ぢ
独厮守ぢ 2021-01-26 01:20

I am looking for a universal way to achieve something like this:

type InputType = {
  increment: (state: T) => T,
  add: (state: T, count: number) =&g         


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