import { type TypedNode } from "https://deno.land/x/deno2node@v1.12.0/src/deps.deno.ts";
Methods
getTypeNode(): TypeNode | undefined
Gets the type node or undefined if none exists.
getTypeNodeOrThrow(message?: string | (() => string)): TypeNode
Gets the type node or throws if none exists.
setType(textOrWriterFunction: string | WriterFunction): this
Sets the type.
import { TypedNode } from "https://deno.land/x/deno2node@v1.12.0/src/deps.deno.ts";
Type Parameters
T extends Constructor<TypedNodeExtensionType>
Parameters
Base: T