Module

x/ts_morph/ts_morph.d.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://dotland.deno.dev/x/ts_morph@21.0.0/ts_morph.d.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://dotland.deno.dev/x/ts_morph@21.0.0/ts_morph.d.ts";

Type Parameters

T extends Constructor<OverloadableNodeExtensionType>