Type alias ArgumentsOf<Fn>

ArgumentsOf<Fn>: Fn extends (() => any) ? readonly [] : Fn extends ((arg: infer Arg, ...args: infer Args) => any) ? readonly [arg: Arg, args: Args] : never

Type Parameters

  • Fn