es-membrane

Home > ts-morph-structures > JsxSelfClosingElementImpl > clone

JsxSelfClosingElementImpl.clone() method

Create a JsxSelfClosingElementImpl from a JsxSelfClosingElementStructure.

Signature:

static clone(source: OptionalKind<JsxSelfClosingElementStructure>): JsxSelfClosingElementImpl;

Parameters

Parameter Type Description
source OptionalKind<JsxSelfClosingElementStructure> The structure to clone.

Returns:

JsxSelfClosingElementImpl