★ Constructor
Wrap()
Wrap()constructor(opening: Opening, closing: Closing, text: Text = '' as Text) {
super(`${opening}${text}${closing}`);
this.#closing = String(closing) as Closing;
this.#text = String(text) as Text;
this.#opening = String(opening) as Opening;
}Parameters
Returns
Example usage
Last updated