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

前端 未结 0 829
温柔的废话
温柔的废话 2021-02-11 17:20

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         


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