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