Module

x/ts_morph/ts_morph.d.ts>JsxSpreadAttribute

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class JsxSpreadAttribute
extends JsxSpreadAttributeBase<ts.JsxSpreadAttribute>
import { JsxSpreadAttribute } from "https://dotland.deno.dev/x/ts_morph@20.0.0/ts_morph.d.ts";

Methods

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

Gets the structure equivalent to this node.

remove(): void

Removes the JSX spread attribute.

set(structure: Partial<JsxSpreadAttributeStructure>): this

Sets the node from a structure.