import { ConstructorDeclaration } from "https://dotland.deno.dev/x/ts_morph@20.0.0/mod.ts";
Methods
addOverload(structure: OptionalKind<ConstructorDeclarationOverloadStructure>): ConstructorDeclaration
Add a constructor overload.
addOverloads(structures: ReadonlyArray<OptionalKind<ConstructorDeclarationOverloadStructure>>): ConstructorDeclaration[]
Add constructor overloads.
getParent(): NodeParentType<ts.ConstructorDeclaration>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.ConstructorDeclaration>>
insertOverload(index: number, structure: OptionalKind<ConstructorDeclarationOverloadStructure>): ConstructorDeclaration
Inserts a constructor overload.
insertOverloads(index: number, structures: ReadonlyArray<OptionalKind<ConstructorDeclarationOverloadStructure>>): ConstructorDeclaration[]
Inserts constructor overloads.