import { type HeritageClauseableNode } from "https://dotland.deno.dev/x/ts_morph@18.0.0/mod.ts";
Methods
getHeritageClauseByKind(kind: SyntaxKind.ExtendsKeyword | SyntaxKind.ImplementsKeyword): HeritageClause | undefined
Gets the heritage clause by kind.
getHeritageClauseByKindOrThrow(kind: SyntaxKind.ExtendsKeyword | SyntaxKind.ImplementsKeyword): HeritageClause
Gets the heritage clause by kind or throws if it doesn't exist.
import { HeritageClauseableNode } from "https://dotland.deno.dev/x/ts_morph@18.0.0/mod.ts";
Type Parameters
T extends Constructor<HeritageClauseableNodeExtensionType>
Parameters
Base: T