Move angular-rx to rx-angular, match Rx conventions

This commit is contained in:
mick delaney
2015-07-03 15:58:31 +01:00
parent 61f9df84ae
commit f1b0c27ff1
2 changed files with 0 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
// Type definitions for angularjs extensions to rxjs
// Project: http://reactivex.io/
// Definitions by: Mick Delaney <https://github.com/mickdelaney/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../angularjs/angular.d.ts" />
/// <reference path="../rx/rx.d.ts" />
/// <reference path="../rx/rx.time.d.ts" />
declare module Rx {
interface IObservable<T> {
safeApply($scope: ng.IScope, callback: (data: any) => void): Rx.Observable<any>;
}
}
declare module rx.angular {
export interface IRxScope extends ng.IScope {
$toObservable(property: string): Rx.Observable<any>;
}
}