Module

x/ts_morph/mod.ts>JsxSelfClosingElement

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class JsxSelfClosingElement
extends JsxSelfClosingElementBase<ts.JsxSelfClosingElement>
import { JsxSelfClosingElement } from "https://dotland.deno.dev/x/ts_morph@17.0.0/mod.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.