Assessing a Function's Argument Types From Tuple

前端 未结 0 1801
耶瑟儿~
耶瑟儿~ 2021-01-23 06:46

I am trying to use tuple type as function argument\'s type.

type T_a = (a1: string, a2: number) => boolean
const a: T_a          


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