How to make a type of chain (array) of functions in typescript?

后端 未结 0 1575
萌比男神i
萌比男神i 2020-12-06 00:18

I want to have a type for chain of operators like

Chain = [ T => A, A => B, B => C, C => U ];

So T should be an input and U should be a

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