ts-simple-ast
Version:
TypeScript compiler wrapper for AST navigation and code generation.
20 lines (19 loc) • 420 B
TypeScript
import * as ts from "typescript";
import { Diagnostic } from "./Diagnostic";
/**
* Result of an emit.
*/
export declare class EmitResult {
/**
* TypeScript compiler emit result.
*/
readonly compilerObject: ts.EmitResult;
/**
* If the emit was skipped.
*/
getEmitSkipped(): boolean;
/**
* Contains declaration emit diagnostics.
*/
getDiagnostics(): Diagnostic[];
}