mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* remove non-existing constructor method from Array in Ember * removed method named "new" and added a constructor to the Collaborator class in google-drive-realtime * made LocalizedObservable into the class that it actually is in Knockout * removed a method named "constructor" and replaced it with a constructor in microsoft-ajax * removed a method called "new" and replaced it with a constructor in microsoft-ajax * autoformat * made QueryCursor into the class it actually is in mongoose * made Connection into a class * made QueryStream and QueryCursor into a classes * removed two methods called "new" and replaced them with constructors * change EventSubscriptionVendor into a class * removed class only used internally Route (it had a wrongly declared method named "constructor") * removed non-existing method named "constructor" in rx-angular * made StackFrame into a class * made StreamMeter into a class * removed a method named "new" and replaced it with a constructor
32 lines
853 B
TypeScript
32 lines
853 B
TypeScript
// Type definitions for angularjs extensions to rxjs
|
|
// Project: http://reactivex.io/
|
|
// Definitions by: Mick Delaney <https://github.com/mickdelaney>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.3
|
|
|
|
/// <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>;
|
|
}
|
|
}
|
|
|