Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/ts_morph@16.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(): 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@16.0.0/ts_morph.d.ts";

Type Parameters

T extends Constructor<OverloadableNodeExtensionType>