Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Compile your Deno project to run on Node.js.
Go to Latest
interface OverloadableNode
import { type OverloadableNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";

Node that supports overloads.

Methods

getOverloads(): this[]

Gets all the overloads associated with this node.

getImplementation(): this | undefined

Gets the implementation or undefined if it doesn't exist.

getImplementationOrThrow(message?: string | (() => string)): this

Gets the implementation or throws if it doesn't exist.

isOverload(): boolean

Gets if this is not the implementation.

isImplementation(): boolean

Gets if this is the implementation.

function OverloadableNode
import { OverloadableNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";

Type Parameters

T extends Constructor<OverloadableNodeExtensionType>