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