Module

x/ts_morph/mod.ts>ConstructSignatureDeclaration

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

Methods

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

Gets the structure equivalent to this node.

set(structure: Partial<ConstructSignatureDeclarationStructure>): this

Sets the node from a structure.