From 36f5a1a157e1990bd41880f6a822265607c59834 Mon Sep 17 00:00:00 2001 From: dimsedane Date: Mon, 14 Mar 2016 09:27:21 +0100 Subject: [PATCH] Update rx.angular.d.ts Added explicit any to prevent compiler error about implicit any --- ts/rx.angular.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/rx.angular.d.ts b/ts/rx.angular.d.ts index 7d03398..32fb15d 100644 --- a/ts/rx.angular.d.ts +++ b/ts/rx.angular.d.ts @@ -30,7 +30,7 @@ declare module angular{ } export interface IScope{ - $createObservableFunction( functionName: string, listener: (data) => void ): Rx.Observable; + $createObservableFunction( functionName: string, listener: (data: any) => void ): Rx.Observable; $digestObservables( observables: {[key:string]:Rx.Observable} ): Rx.Observable>; $eventToObservable(eventName: string): Rx.Observable; $toObservable(watchExpression: ((scope: ng.IScope) => any|string) | string, objectEquality?:boolean ): Rx.Observable;