define()
Last updated
Was this helpful?
Last updated
Was this helpful?
Wrapper.define()
Defines a new instance with the provided , chars, and optional .
Opening
extends
string
A generic type variable constrained by the , by default of the value captured from the provided indicates the type of the opening in the via .
Closing
extends
string
Text
extends
string
=
''
opening: Opening
closing: Closing
text?: Text
Wrapper<Opening, Text, Closing>
A generic type variable constrained by the , by default of the value captured from the provided indicates the type of the closing in the via .
A generic type variable constrained by the , by default of the value captured from the provided indicates the type of the text in the via .
The opening chars of generic type variable for new instance.
The closing chars of generic type variable for new instance.
An optional text of generic type variable for new instance.
The return type is the object that takes generic type variables , , and .
The return value is the instance of given , chars, and optional .