Skip to main content
Module

x/ts_morph/mod.ts>JSDocOptionalType#getTypeNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method JSDocOptionalType.prototype.getTypeNode
import { JSDocOptionalType } from "https://deno.land/x/ts_morph@17.0.1/mod.ts";

Gets the type node of the JS doc optional type node.

Returns

TypeNode<ts.TypeNode>