Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Compile your Deno project to run on Node.js.
Go to Latest
class HeritageClause
extends Node<ts.HeritageClause>
import { HeritageClause } from "https://deno.land/x/deno2node@v1.10.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.