// Type definitions for angularjs extensions to rxjs
// Project: http://reactivex.io/
// Definitions by: Mick Delaney
// Definitions: https://github.com/borisyankov/DefinitelyTyped
///
///
///
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 {
export interface IRxScope extends ng.IScope {
$toObservable(property: string): Rx.Observable;
}
}