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

x/ts_morph/ts_morph.d.ts>JsxSpreadAttribute

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
class JsxSpreadAttribute
extends JsxSpreadAttributeBase<ts.JsxSpreadAttribute>
import { JsxSpreadAttribute } from "https://deno.land/x/ts_morph@22.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.