ts-simple-ast
Version:
TypeScript compiler wrapper for AST navigation and code generation.
11 lines (10 loc) • 389 B
TypeScript
import * as ts from "typescript";
import { LiteralLikeNode } from "./../base";
import { Expression } from "./../common";
export declare const NumericLiteralBase: (new (...args: any[]) => LiteralLikeNode) & typeof Expression;
export declare class NumericLiteral extends NumericLiteralBase<ts.NumericLiteral> {
/**
* Gets the literal value.
*/
getLiteralValue(): number;
}