UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

19 lines (18 loc) 376 B
import * as ts from "typescript"; /** * Symbol display part. */ export declare class SymbolDisplayPart { /** Gets the compiler symbol display part. */ readonly compilerObject: ts.SymbolDisplayPart; /** * Gets the text. */ getText(): string; /** * Gets the kind. * * Examples: "text", "lineBreak" */ getKind(): string; }