mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 21:40:21 +00:00
Exposes ScopeScheduler to TypeScript
This commit is contained in:
Vendored
+10
@@ -12,6 +12,16 @@ declare module Rx {
|
||||
interface IObservable<T> {
|
||||
safeApply($scope: ng.IScope, callback: (data: any) => void): Rx.Observable<any>;
|
||||
}
|
||||
|
||||
export interface ScopeScheduler extends IScheduler {
|
||||
constructor(scope: ng.IScope);
|
||||
}
|
||||
|
||||
export interface ScopeSchedulerStatic extends SchedulerStatic {
|
||||
new ($scope: angular.IScope): ScopeScheduler;
|
||||
}
|
||||
|
||||
export var ScopeScheduler: ScopeSchedulerStatic;
|
||||
}
|
||||
|
||||
declare module rx.angular {
|
||||
|
||||
Reference in New Issue
Block a user