Skip to main content
Module

x/ts_morph/mod.ts>Type#getText

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

Gets the type text.

Parameters

optional
enclosingNode: Node
  • The enclosing node.
optional
typeFormatFlags: TypeFormatFlags
  • Format flags for the type text.

Returns

string