Typescript types for a pipe() function

后端 未结 0 403
心在旅途
心在旅途 2020-12-05 14:09

Consider the following TypeScript code:

type operator = (input:T) => T

const pipe = (...operators:operator[]) => (input:T):T         


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