Module

x/ts_morph/ts_morph.d.ts>JSDocTypeExpression

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
class JSDocTypeExpression
extends TypeNode<ts.JSDocTypeExpression>
import { JSDocTypeExpression } from "https://dotland.deno.dev/x/ts_morph@22.0.0/ts_morph.d.ts";

JS doc type expression node.

Methods

getParent(): NodeParentType<ts.JSDocTypeExpression>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.JSDocTypeExpression>>
getTypeNode(): TypeNode<ts.TypeNode>

Gets the type node of the JS doc type expression.