UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

11 lines (10 loc) 537 B
import * as ts from "typescript"; import { Node } from "./../common"; import { InitializerExpressionableNode, BindingNamedNode, TypedNode } from "./../base"; export declare const VariableDeclarationBase: (new (...args: any[]) => TypedNode) & (new (...args: any[]) => InitializerExpressionableNode) & (new (...args: any[]) => BindingNamedNode) & typeof Node; export declare class VariableDeclaration extends VariableDeclarationBase<ts.VariableDeclaration> { /** * Removes this variable declaration. */ remove(): void; }