markdown-it - v15.0.2
GitHub
Preparing search index...
md.utils
callable
Function callable
callable
<
T
extends
ClassToWrap
>
(
cls
:
T
,
)
:
T
&
(
...
args
:
ConstructorParameters
<
T
>
)
=>
InstanceType
<
T
>
§
Wraps a class so it can be called with or without
new
.
Type Parameters
T
extends
ClassToWrap
Parameters
cls
:
T
Returns
T
&
(
...
args
:
ConstructorParameters
<
T
>
)
=>
InstanceType
<
T
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GitHub
markdown-it - v15.0.2
Loading...
Wraps a class so it can be called with or without
new.