Module

x/ts_morph/mod.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@18.0.0/mod.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.