19 lines
431 B
TypeScript
19 lines
431 B
TypeScript
|
|
|
|
declare module "gulp-tsb" {
|
|
|
|
export interface ICancellationToken {
|
|
isCancellationRequested(): boolean;
|
|
}
|
|
|
|
export interface IncrementalCompiler {
|
|
(token?: ICancellationToken): NodeJS.ReadWriteStream;
|
|
src(opts?: {
|
|
cwd?: string;
|
|
base?: string;
|
|
}): NodeJS.ReadStream;
|
|
}
|
|
export function create(projectPath: string, existingOptions: any, verbose?: boolean, onError?: (message: any) => void): IncrementalCompiler;
|
|
|
|
}
|