import { type ExtendsClauseableNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Methods
getExtends(): ExpressionWithTypeArguments[]
Gets the extends clauses.
addExtends(texts: ReadonlyArray<string | WriterFunction> | WriterFunction): ExpressionWithTypeArguments[]
Adds multiple extends clauses.
addExtends(text: string): ExpressionWithTypeArguments
Adds an extends clause.
insertExtends(index: number, texts: ReadonlyArray<string | WriterFunction> | WriterFunction): ExpressionWithTypeArguments[]
Inserts multiple extends clauses.
insertExtends(index: number, text: string): ExpressionWithTypeArguments
Inserts an extends clause.
removeExtends(extendsNode: ExpressionWithTypeArguments): this
Removes the specified extends.
import { ExtendsClauseableNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Type Parameters
T extends Constructor<ExtendsClauseableNodeExtensionType>
Parameters
Base: T