Skip to main content
Module

x/ts_morph/mod.ts>OverloadableNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface OverloadableNode
import { type OverloadableNode } from "https://deno.land/x/ts_morph@15.1.0/mod.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(): 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/ts_morph@15.1.0/mod.ts";

Type Parameters

T extends Constructor<OverloadableNodeExtensionType>