UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

13 lines (12 loc) 797 B
import * as ts from "typescript"; import { Node } from "./../common"; import { ExportableNode, ModifierableNode, AmbientableNode, DocumentationableNode } from "./../base"; import { NamespaceChildableNode } from "./../namespace"; import { VariableDeclarationList } from "./VariableDeclarationList"; export declare const VariableStatementBase: (new (...args: any[]) => NamespaceChildableNode) & (new (...args: any[]) => DocumentationableNode) & (new (...args: any[]) => AmbientableNode) & (new (...args: any[]) => ExportableNode) & (new (...args: any[]) => ModifierableNode) & typeof Node; export declare class VariableStatement extends VariableStatementBase<ts.VariableStatement> { /** * Gets the declaration list of variables. */ getDeclarationList(): VariableDeclarationList; }