Module

x/ts_morph/mod.ts>OverrideableNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface OverrideableNode
import { type OverrideableNode } from "https://dotland.deno.dev/x/ts_morph@18.0.0/mod.ts";

Methods

hasOverrideKeyword(): boolean

If it has an override keyword.

getOverrideKeyword(): Node<ts.OverrideKeyword> | undefined

Gets the override keyword or undefined if none exists.

getOverrideKeywordOrThrow(message?: string | (() => string)): Node<ts.Modifier>

Gets the override keyword or throws if none exists.

setHasOverrideKeyword(value: boolean): this

Sets if the node has an override keyword.

function OverrideableNode
import { OverrideableNode } from "https://dotland.deno.dev/x/ts_morph@18.0.0/mod.ts";

Type Parameters

T extends Constructor<OverrideableNodeExtensionType>