ts-babel
Version:
Transform TypeScript compiler result using Babel to granular target control
5 lines (4 loc) • 341 B
TypeScript
import * as ts from "typescript";
export declare function transpile(transpilator: (basePath: string, config: ts.ParsedCommandLine, tsConfig: any) => Promise<any>): Promise<void>;
export declare function readProjectMetadata(packageDir: string): Promise<any[]>;
export declare function checkErrors(errors: ReadonlyArray<ts.Diagnostic>): void;