diff --git a/rx-angular/rx.angular.d.ts b/rx-angular/rx.angular.d.ts index 2b82e529af..8b1b94d845 100644 --- a/rx-angular/rx.angular.d.ts +++ b/rx-angular/rx.angular.d.ts @@ -12,6 +12,16 @@ declare module Rx { interface IObservable { safeApply($scope: ng.IScope, callback: (data: T) => void): Rx.Observable; } + + export interface ScopeScheduler extends IScheduler { + constructor(scope: ng.IScope) : ScopeScheduler; + } + + export interface ScopeSchedulerStatic extends SchedulerStatic { + new ($scope: angular.IScope): ScopeScheduler; + } + + export var ScopeScheduler: ScopeSchedulerStatic; } declare module rx.angular {