import { type TypedNode } from "https://deno.land/x/ts_morph@16.0.0/mod.ts";
Methods
getTypeNode(): TypeNode | undefined
Gets the type node or undefined if none exists.
getTypeNodeOrThrow(): 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/ts_morph@16.0.0/mod.ts";
Type Parameters
T extends Constructor<TypedNodeExtensionType>
Parameters
Base: T