Skip to main content
Module

x/ts_morph/ts_morph.d.ts>ConstructorDeclaration

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

Methods

Add constructor overloads.

getParent(): NodeParentType<ts.ConstructorDeclaration>
getParentOrThrow(): NonNullable<NodeParentType<ts.ConstructorDeclaration>>

Inserts a constructor overload.

Inserts constructor overloads.

set(structure: Partial<ConstructorDeclarationStructure>): this

Sets the node from a structure.