Type Alias: FirstArgument<T>
FirstArgument<
T
>:T
extends (arg1
: infer U, ...args
:unknown
[]) =>unknown
?U
:unknown
Defined in: types.ts:89
Gets the first argument of any given function
Type Parameters
Type Parameter |
---|
T |
FirstArgument<
T
>:T
extends (arg1
: infer U, ...args
:unknown
[]) =>unknown
?U
:unknown
Defined in: types.ts:89
Gets the first argument of any given function
Type Parameter |
---|
T |