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