ts-simple-ast
Version:
TypeScript compiler wrapper for AST navigation and code generation.
23 lines (22 loc) • 454 B
TypeScript
import * as ts from "typescript";
/**
* Output file of an emit.
*/
export declare class OutputFile {
/**
* TypeScript compiler emit result.
*/
readonly compilerObject: ts.OutputFile;
/**
* Gets the file path.
*/
getFilePath(): string;
/**
* Gets whether the byte order mark should be written.
*/
getWriteByteOrderMark(): boolean;
/**
* Gets the file text.
*/
getText(): string;
}