ts_emitter.d.ts
485 Bytes
import { OutputEmitter } from './abstract_emitter';
import * as o from './output_ast';
import { ImportResolver } from './path_util';
export declare function debugOutputAstAsTypeScript(ast: o.Statement | o.Expression | o.Type | any[]): string;
export declare class TypeScriptEmitter implements OutputEmitter {
private _importGenerator;
constructor(_importGenerator: ImportResolver);
emitStatements(moduleUrl: string, stmts: o.Statement[], exportedVars: string[]): string;
}