UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

21 lines (20 loc) 457 B
import * as ts from "typescript"; import { OutputFile } from "./OutputFile"; /** * Output of an emit on a single file. */ export declare class EmitOutput { private readonly filePath; /** * TypeScript compiler emit result. */ readonly compilerObject: ts.EmitOutput; /** * Gets if the emit was skipped. */ getEmitSkipped(): boolean; /** * Gets the output files. */ getOutputFiles(): OutputFile[]; }