From b33f6c6dedba3dd7d251408008f1d0ab995e4fe0 Mon Sep 17 00:00:00 2001 From: David Pfeffer Date: Thu, 10 Sep 2015 14:59:43 -0400 Subject: [PATCH] Maintains type safety through a safeApply. --- rx-angular/rx.angular.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rx-angular/rx.angular.d.ts b/rx-angular/rx.angular.d.ts index e2d0ec8c5..2b82e529a 100644 --- a/rx-angular/rx.angular.d.ts +++ b/rx-angular/rx.angular.d.ts @@ -10,7 +10,7 @@ declare module Rx { interface IObservable { - safeApply($scope: ng.IScope, callback: (data: any) => void): Rx.Observable; + safeApply($scope: ng.IScope, callback: (data: T) => void): Rx.Observable; } }