Skip to main content
Module

x/deno2node/src/deps.deno.ts>HeritageClause

Compile your Deno project to run on Node.js.
Latest
class HeritageClause
extends Node<ts.HeritageClause>
import { HeritageClause } from "https://deno.land/x/deno2node@v1.12.0/src/deps.deno.ts";

Methods

getParent(): NodeParentType<ts.HeritageClause>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.HeritageClause>>
getToken(): SyntaxKind.ExtendsKeyword | SyntaxKind.ImplementsKeyword

Gets the heritage clause token.

Gets all the type nodes for the heritage clause.

removeExpression(index: number): this

Remove the expression from the heritage clause.

Removes the expression from the heritage clause.