Fundamentals
Preparing search index...
derivedType
Function derivedType
derivedType
(
identifier
:
string
,
targetType
?:
Constructor
,
)
:
{
<
Target
extends
Constructor
>
(
target
:
Target
)
:
void
;
<
Target
extends
Constructor
>
(
target
:
Target
,
context
:
{
kind
:
"class"
;
metadata
:
Record
<
PropertyKey
,
unknown
>
|
undefined
;
name
:
string
|
undefined
;
addInitializer
(
initializer
:
(
this
:
Target
)
=>
void
)
:
void
;
}
,
)
:
void
;
}
Parameters
identifier
:
string
Optional
targetType
:
Constructor
Returns
{
<
Target
extends
Constructor
>
(
target
:
Target
)
:
void
;
<
Target
extends
Constructor
>
(
target
:
Target
,
context
:
{
kind
:
"class"
;
metadata
:
Record
<
PropertyKey
,
unknown
>
|
undefined
;
name
:
string
|
undefined
;
addInitializer
(
initializer
:
(
this
:
Target
)
=>
void
)
:
void
;
}
,
)
:
void
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Fundamentals
Loading...