From bb59fade926c39c73f0c23781a7db60d51fbcff3 Mon Sep 17 00:00:00 2001 From: Boris Yankov Date: Sat, 17 May 2014 03:56:47 +0300 Subject: [PATCH] Fix implicit any error in Hello.js typings --- hellojs/hellojs.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hellojs/hellojs.d.ts b/hellojs/hellojs.d.ts index ce8e328ee4..896bccb50e 100644 --- a/hellojs/hellojs.d.ts +++ b/hellojs/hellojs.d.ts @@ -21,7 +21,7 @@ interface HelloJSLogoutOptions { interface HelloJSEvent { on(event: string, callback: (auth: HelloJSEventArgument) => void): HelloJSStatic; off(event: string, callback: (auth: HelloJSEventArgument) => void): HelloJSStatic; - findEvents(event, callback): void; + findEvents(event: string, callback: (name: string, index: number) => void): void; emit(event: string, data: any): HelloJSStatic; emitAfter(): HelloJSStatic; success(callback: (json?: any) => void): HelloJSStatic;