Skip to main content
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://deno.land/x/ts_morph@15.1.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(): 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://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";

Type Parameters

T extends Constructor<AbstractableNodeExtensionType>