ts-playground
Preparing search index...
symbolic-prototype/src/extend
extend
Function extend
extend
<
T
,
A
extends
unknown
[]
,
_R
>
(
Target
:
{
prototype
:
T
}
,
symbol
:
symbol
,
fn
:
BaseFunction
<
T
,
A
>
,
)
:
void
extend the prototype of a class with a new method
Type Parameters
T
A
extends
unknown
[]
_R
Parameters
Target
:
{
prototype
:
T
}
symbol
:
symbol
fn
:
BaseFunction
<
T
,
A
>
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ts-playground
Loading...
extend the prototype of a class with a new method