Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ts_morph/ts_morph.d.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://deno.land/x/ts_morph@16.0.0/ts_morph.d.ts";

Methods

getParent(): NodeParentType<ts.JsxSelfClosingElement>
getParentOrThrow(): NonNullable<NodeParentType<ts.JsxSelfClosingElement>>
getStructure(): JsxSelfClosingElementStructure

Gets the structure equivalent to this node.

set(structure: Partial<JsxSelfClosingElementStructure>): this

Sets the node from a structure.