fixed syntax

This commit is contained in:
lgrignon
2015-12-08 11:07:52 +01:00
parent be0eda5082
commit 29c447bbed
+1 -1
View File
@@ -88,7 +88,7 @@ declare module "gulp-notify" {
/**
* The exact same API as using notify(), but where a vinyl File is passed, the error object is passed instead.
*/
function onError(callback: (string | (error: Error) => string | GulpNotifyOptions)): NodeJS.ReadWriteStream;
function onError(param: string | (error: Error): string | GulpNotifyOptions): NodeJS.ReadWriteStream;
/**
* Type: Integer Default: 2