UNPKG

ts-budgie

Version:

Converts TypeScript code to Budgie.

16 lines (15 loc) 572 B
import * as ts from "typescript"; import { Transformation } from "../../output/transformation"; import { NodeVisitor } from "../visitor"; export declare class VariableDeclarationVisitor extends NodeVisitor { /** * Tries to find more specific types for variable declarations. */ private readonly typeAdjuster; visit(node: ts.VariableDeclaration): Transformation[]; private getTransformationContents; private getAliasedValue; private getFullValue; private getFriendlyTypeAtLocation; private appendFullValueToLines; }