fixed syntax and implicit any

This commit is contained in:
lgrignon
2015-12-08 11:16:17 +01:00
parent 0aa8a6c9f5
commit 709cf2cb91
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ declare module "gulp-jshint" {
}
namespace GulpJSHint {
function reporter(kind: (string | Object));
function reporter(kind: (string | Object)): NodeJS.ReadWriteStream;
}
export = GulpJSHint;
}
+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(param: string | (error: Error): string | GulpNotifyOptions): NodeJS.ReadWriteStream;
function onError(param: string | { (error: Error): string } | GulpNotifyOptions): NodeJS.ReadWriteStream;
/**
* Type: Integer Default: 2