Typescript Library Declarations (ES2023)
Type Alias Parameters<T>
Parameters
<
T
>
:
T
extends
(
(
...
args
:
infer
P
)
=>
any
)
?
P
:
never
Obtain the parameters of a function type in a tuple
Type Parameters
T
extends
(
(
...
args
:
any
)
=>
any
)
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Typescript Library Declarations (ES2023)
Obtain the parameters of a function type in a tuple