Home > ts-morph-structures > JsxSelfClosingElementImpl > clone
Create a JsxSelfClosingElementImpl from a JsxSelfClosingElementStructure.
Signature:
static clone(source: OptionalKind<JsxSelfClosingElementStructure>): JsxSelfClosingElementImpl;
| Parameter | Type | Description |
|---|---|---|
| source | OptionalKind<JsxSelfClosingElementStructure> | The structure to clone. |
Returns: