@types/rx-angular
TypeScript icon, indicating that this package has built-in type declarations

0.0.34 • Public • Published

Installation

npm install --save @types/rx-angular

Summary

This package contains type definitions for rx-angular (http://reactivex.io/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rx-angular.

index.d.ts

/// <reference types="angular" />
/// <reference types="rx" />

declare namespace Rx {
    interface IObservable<T> {
        safeApply($scope: ng.IScope, callback: (data: T) => void): Rx.Observable<T>;
    }

    export interface ScopeScheduler extends IScheduler {}

    export interface ScopeSchedulerStatic extends SchedulerStatic {
        new($scope: angular.IScope): ScopeScheduler;
    }

    export var ScopeScheduler: ScopeSchedulerStatic;
}

declare namespace rx.angular {
    export interface IRxScope extends ng.IScope {
        $toObservable(property: string): Rx.Observable<any>;
    }
}

Additional Details

Credits

These definitions were written by Mick Delaney.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/rx-angular

Weekly Downloads

370

Version

0.0.34

License

MIT

Unpacked Size

3.9 kB

Total Files

5

Last publish

Collaborators

  • types