Maintains type safety through a safeApply.

This commit is contained in:
David Pfeffer
2015-09-10 14:59:43 -04:00
parent 76ed26e95e
commit b33f6c6ded
+1 -1
View File
@@ -10,7 +10,7 @@
declare module Rx {
interface IObservable<T> {
safeApply($scope: ng.IScope, callback: (data: any) => void): Rx.Observable<any>;
safeApply($scope: ng.IScope, callback: (data: T) => void): Rx.Observable<T>;
}
}