From dc05db5550ce7bd5156db2b6f228ad17185f3740 Mon Sep 17 00:00:00 2001 From: lgrignon Date: Tue, 8 Dec 2015 11:20:52 +0100 Subject: [PATCH] fixed implicit any --- gulp-notify/gulp-notify.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gulp-notify/gulp-notify.d.ts b/gulp-notify/gulp-notify.d.ts index 96b11f95d1..4658616447 100644 --- a/gulp-notify/gulp-notify.d.ts +++ b/gulp-notify/gulp-notify.d.ts @@ -64,7 +64,7 @@ declare module "gulp-notify" { * * See notify.withReporter for syntactic sugar. */ - notifier?: (options, callback) => void; + notifier?: (options: GulpNotifyOptions, callback: () => void) => void; /** * If the wait option is set to true, the notifier will tigger events click or timeout, whether the user clicks the notification or it times out. You listen to these events on the main notify object, not the produces stream. @@ -77,7 +77,7 @@ declare module "gulp-notify" { /** * If the wait option is set to true, the notifier will tigger events click or timeout, whether the user clicks the notification or it times out. You listen to these events on the main notify object, not the produces stream. */ - function on(event: string, callback: (notificationOptions?: Object) => void): void; + function on(event: string, callback: (notificationOptions?: GulpNotifyOptions) => void): void; /** * Wraps options.notifier to return a new notify-function only using the passed in reporter. @@ -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): Function; /** * Type: Integer Default: 2