update shel.task() signature

add done function to method signature of shell.task()
This commit is contained in:
guischdi
2016-01-12 15:18:58 +01:00
parent 984a41af67
commit 4f99c3c7e5
+1 -1
View File
@@ -10,7 +10,7 @@ declare module "gulp-shell" {
namespace shell {
interface Shell {
(commands: string|string[], options?: Option): NodeJS.ReadWriteStream;
task(commands: string|string[], options?: Option): () => NodeJS.ReadWriteStream;
task(commands: string|string[], options?: Option): (done: Function) => NodeJS.ReadWriteStream;
}
interface Option {