Typescript Library Declarations (ES2023)
Type alias InstanceType<T>
Instance
Type
<
T
>
:
T
extends
(
abstract
new
(
...
args
)
=>
infer
R
)
?
R
:
any
Obtain the return type of a constructor function type
Type Parameters
T
extends
(
abstract
new
(
...
args
)
=>
any
)
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Obtain the return type of a constructor function type