Skip to main content
Module

x/ts_morph/mod.ts>JsxFragment

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class JsxFragment
extends PrimaryExpression<ts.JsxFragment>
import { JsxFragment } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Methods

getClosingFragment(): JsxClosingFragment

Gets the closing fragment.

getJsxChildren(): JsxChild[]

Gets the children of the JSX fragment.

getOpeningFragment(): JsxOpeningFragment

Gets the opening fragment.

getParent(): NodeParentType<ts.JsxFragment>
getParentOrThrow(): NonNullable<NodeParentType<ts.JsxFragment>>