Exposes ScopeScheduler to TypeScript

This commit is contained in:
David Pfeffer
2015-09-16 19:17:42 -04:00
parent 5f48028783
commit b17b669edf
+10
View File
@@ -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 {