mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Maintains type safety through a safeApply.
This commit is contained in:
1 parent
76ed26e95e
commit
b33f6c6ded
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