Merge pull request #5772 from bytenik/patch-1

Maintains type safety during safeApply
This commit is contained in:
Masahiro Wakame
2015-09-20 18:41:55 +09:00
+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>;
}
}