Module

x/ts_morph/ts_morph.d.ts>AbstractableNode

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

Methods

isAbstract(): boolean

Gets if the node is abstract.

getAbstractKeyword(): Node | undefined

Gets the abstract keyword or undefined if it doesn't exist.

getAbstractKeywordOrThrow(message?: string | (() => string)): Node

Gets the abstract keyword or throws if it doesn't exist.

setIsAbstract(isAbstract: boolean): this

Sets if the node is abstract.

function AbstractableNode
import { AbstractableNode } from "https://dotland.deno.dev/x/ts_morph@17.0.0/ts_morph.d.ts";

Type Parameters

T extends Constructor<AbstractableNodeExtensionType>