ts-simple-ast
Version:
TypeScript compiler wrapper for AST navigation and code generation.
17 lines (16 loc) • 873 B
TypeScript
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;
/**
* Removes this variable statement.
*/
remove(): void;
}