mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Maintains type safety through a safeApply.
This commit is contained in:
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