Generic type variables
The `Wrap` primitive wrapper object generic type variables
Wrap<
Opening
,
Text
,
Closing
>
Wrap<
Opening
,
Text
,
Closing
>
Opening
extends
string
=
string
Opening
extends
string
=
string
A generic type variable constrained by the string
, by default of the value captured from the provided opening
indicates the opening type of a new Wrap
instance.
wrap.class.ts
Wrap<
Opening
,
Text
,
Closing
>
Wrap<
Opening
,
Text
,
Closing
>
Text
extends
string
=
``
Text
extends
string
=
``
A generic type variable constrained by the string
, by default of the value captured from the provided text
indicates the text type of a new Wrap
instance.
wrap.class.ts
Wrap<
Opening
,
Text
,
Closing
>
Wrap<
Opening
,
Text
,
Closing
>
Closing
extends
string
=
string
Closing
extends
string
=
string
A generic type variable constrained by the string
, by default of the value captured from the provided closing
indicates the closing type of a new Wrap
instance.
wrap.class.ts
Last updated