mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-21 11:09:53 +08:00
Merge pull request #2537 from carldebilly/master
Remove useless reference to RxJS definitions
This commit is contained in:
Vendored
+2
-1
@@ -4,7 +4,6 @@
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../knockout/knockout.d.ts"/>
|
||||
/// <reference path="../rx.js/rx.d.ts"/>
|
||||
|
||||
interface KnockoutSubscribableFunctions<T> {
|
||||
toObservable(event?: string): Rx.Observable<T>;
|
||||
@@ -21,6 +20,8 @@ interface KnockoutComputedFunctions<T> {
|
||||
}
|
||||
|
||||
declare module Rx {
|
||||
interface ISubject<T> { }
|
||||
|
||||
interface Observable<T> {
|
||||
toKoSubscribable(): KnockoutSubscribable<T>;
|
||||
toKoObservable(initialValue?: T): KnockoutObservable<T>;
|
||||
|
||||
Reference in New Issue
Block a user