import { JsxAttribute } from "https://dotland.deno.dev/x/ts_morph@20.0.0/ts_morph.d.ts";
Methods
getInitializer():
| JsxElement
| JsxExpression
| JsxFragment
| JsxSelfClosingElement
| StringLiteral
| undefined
Gets the JSX attribute's initializer or returns undefined if it doesn't exist.
getInitializerOrThrow(message?: string | (() => string)):
| StringLiteral
| JsxElement
| JsxSelfClosingElement
| JsxFragment
| JsxExpression
Gets the JSX attribute's initializer or throws if it doesn't exist.
getParent(): NodeParentType<ts.JsxAttribute>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.JsxAttribute>>