switched to ES6 default import

This commit is contained in:
2016-10-19 01:10:45 +02:00
parent e10c31c740
commit 8a2c516274
7 changed files with 118 additions and 110 deletions

View File

@ -9,7 +9,7 @@ export interface IPromiseFunction {
(file?, enc?): PromiseLike<any>
}
module.exports = (
let mainExportFunction = (
functionsToExecuteArg: IPromiseFunction | IPromiseFunction[],
executionModeArg: TExecutionMode = 'forEach'
): Transform => {
@ -73,3 +73,5 @@ module.exports = (
}
return through2.obj(forEach, atEnd)
}
export default mainExportFunction