gulp-function/dist/index.d.ts

10 lines
427 B
TypeScript
Raw 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-18 23:10:45 +00:00
declare let mainExportFunction: (functionsToExecuteArg: IPromiseFunction | IPromiseFunction[], executionModeArg?: TExecutionMode) => Transform;
export default mainExportFunction;