import { MethodDeclaration } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Methods
Add a method overload.
addOverloads(structures: ReadonlyArray<OptionalKind<MethodDeclarationOverloadStructure>>): MethodDeclaration[]
Add method overloads.
getParent(): NodeParentType<ts.MethodDeclaration>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.MethodDeclaration>>
Gets the structure equivalent to this node.
insertOverload(index: number, structure: OptionalKind<MethodDeclarationOverloadStructure>): MethodDeclaration
Inserts a method overload.
insertOverloads(index: number, structures: ReadonlyArray<OptionalKind<MethodDeclarationOverloadStructure>>): MethodDeclaration[]
Inserts method overloads.
set(structure: Partial<MethodDeclarationStructure>): this
Sets the node from a structure.