mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Merge pull request #5772 from bytenik/patch-1
Maintains type safety during safeApply
This commit is contained in:
commit
37cc5b53ad
1 file changed
+1
-1
Vendored
+1
-1
@@ -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>;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user