How to explicitly type a generic function in TypeScript?

后端 未结 0 926
梦谈多话
梦谈多话 2020-12-03 00:31

Problem

I have the following generic function type:

type Validator = (value: TInput) => Validated

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