In Typescript, define a type for an array where the first element is more specific than the rest

前端 未结 0 1531
余生分开走
余生分开走 2021-02-11 17:28

I would like to define a type for an array whose first element is a specific type (e.g. Function), and the remaining elements are the empty type. For example:

ty         


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