gulp-function/dist/index.d.ts

13 lines
626 B
TypeScript
Raw Permalink Normal View History

2016-10-18 23:10:45 +00:00
/// <reference types="node" />
import 'typings-global';
2016-10-18 23:10:45 +00:00
import { Transform } from 'stream';
export declare type TExecutionMode = 'forEach' | 'forFirst' | 'atEnd';
export interface IPromiseFunction {
(file?: any, enc?: any): PromiseLike<any>;
}
2016-10-19 05:36:32 +00:00
declare let defaultExport: (functionsToExecuteArg: IPromiseFunction | IPromiseFunction[], executionModeArg?: TExecutionMode) => Transform;
2016-11-25 10:19:12 +00:00
export declare let forEach: (funcArg: IPromiseFunction) => Transform;
export declare let forFirst: (funcArg: IPromiseFunction) => Transform;
export declare let atEnd: (funcArg: IPromiseFunction) => Transform;
2016-10-19 05:36:32 +00:00
export default defaultExport;