mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Merge pull request #5850 from bytenik/patch-2
Exposes ScopeScheduler to TypeScript
This commit is contained in:
commit
cb908492ef
10
rx-angular/rx.angular.d.ts
vendored
10
rx-angular/rx.angular.d.ts
vendored
@ -12,6 +12,16 @@ declare module Rx {
|
||||
interface IObservable<T> {
|
||||
safeApply($scope: ng.IScope, callback: (data: T) => void): Rx.Observable<T>;
|
||||
}
|
||||
|
||||
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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user