mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Merge pull request #2544 from Igorbek/RxJS
RxJS: rename to 'rx' and extract 'rx-jquery' module.
This commit is contained in:
Vendored
+1
-2
@@ -4,6 +4,7 @@
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../knockout/knockout.d.ts"/>
|
||||
/// <reference path="../rx/rx.d.ts"/>
|
||||
|
||||
interface KnockoutSubscribableFunctions<T> {
|
||||
toObservable(event?: string): Rx.Observable<T>;
|
||||
@@ -20,8 +21,6 @@ interface KnockoutComputedFunctions<T> {
|
||||
}
|
||||
|
||||
declare module Rx {
|
||||
interface ISubject<T> { }
|
||||
|
||||
interface Observable<T> {
|
||||
toKoSubscribable(): KnockoutSubscribable<T>;
|
||||
toKoObservable(initialValue?: T): KnockoutObservable<T>;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/// <reference path="promises-a-plus.d.ts"/>
|
||||
/// <reference path="../rx.js/rx.async.d.ts"/>
|
||||
/// <reference path="../rx/rx.async.d.ts"/>
|
||||
/// <reference path="../es6-promise/es6-promise.d.ts"/>
|
||||
/// <reference path="../q/Q.d.ts"/>
|
||||
import When = require("../when/when");
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
///<reference path="../jquery/jquery.d.ts"/>
|
||||
///<reference path="rx.d.ts"/>
|
||||
///<reference path="../rx/rx.d.ts"/>
|
||||
|
||||
interface RxJQueryAjaxResult<T> {
|
||||
data: T;
|
||||
Vendored
Reference in New Issue
Block a user