ArgumentsType: T extends (...args: infer A) => any ? A : never

推断函数的参数类型

类型参数

  • T