Skip to main content
Module

x/ts_morph/ts_morph.d.ts>JsxSelfClosingElement

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
class JsxSelfClosingElement
extends JsxSelfClosingElementBase<ts.JsxSelfClosingElement>
import { JsxSelfClosingElement } from "https://deno.land/x/ts_morph@22.0.0/ts_morph.d.ts";

Methods

getParent(): NodeParentType<ts.JsxSelfClosingElement>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.JsxSelfClosingElement>>

Gets the structure equivalent to this node.

set(structure: Partial<JsxSelfClosingElementStructure>): this

Sets the node from a structure.