import { type TypeArgumentedNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Methods
getTypeArguments(): TypeNode[]
Gets all the type arguments of the node.
addTypeArgument(argumentText: string): TypeNode
Adds a type argument.
addTypeArguments(argumentTexts: ReadonlyArray<string>): TypeNode[]
Adds type arguments.
insertTypeArgument(index: number, argumentText: string): TypeNode
Inserts a type argument.
insertTypeArguments(index: number, argumentTexts: ReadonlyArray<string>): TypeNode[]
Inserts type arguments.
removeTypeArgument(typeArg: Node): this
Removes a type argument.
import { TypeArgumentedNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Type Parameters
T extends Constructor<TypeArgumentedNodeExtensionType>
Parameters
Base: T