Skip to main content
Module

x/deno2node/src/deps.deno.ts>MethodDeclaration

Compile your Deno project to run on Node.js.
Go to Latest
class MethodDeclaration
extends MethodDeclarationBase<ts.MethodDeclaration>
import { MethodDeclaration } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Methods

Add method overloads.

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

Gets the structure equivalent to this node.

Inserts a method overload.

Inserts method overloads.

set(structure: Partial<MethodDeclarationStructure>): this

Sets the node from a structure.