15 lines
445 B
TypeScript
15 lines
445 B
TypeScript
|
// TODO(martinprobst): This is a hand-written declarations file. Replace with an automatically
|
||
|
// generated one when TypeScript has a strategy to distribute TS source via npm.
|
||
|
|
||
|
export interface TranspilerOptions {
|
||
|
failFast?: boolean;
|
||
|
generateLibraryName?: boolean;
|
||
|
generateSourceMap?: boolean;
|
||
|
basePath?: string;
|
||
|
}
|
||
|
|
||
|
export class Transpiler{
|
||
|
constructor(options: TranspilerOptions);
|
||
|
transpile(fileNames: string[], outdir?: string);
|
||
|
}
|