How to use typegard for generics in TypeScript

后端 未结 0 1909
天命终不由人
天命终不由人 2021-01-23 13:16

I defined following function.

const createAction = (input: I, conditionFn: (_: I) => boolean, converter: (_: I) => O, restoreFn: (_: O) => any         


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