Skip to main content
Module

x/ts_morph/mod.ts>SpreadAssignment

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

Methods

getParent(): NodeParentType<ts.SpreadAssignment>
getParentOrThrow(): NonNullable<NodeParentType<ts.SpreadAssignment>>
getStructure(): SpreadAssignmentStructure

Gets the structure equivalent to this node.

set(structure: Partial<SpreadAssignmentStructure>): this

Sets the node from a structure.