mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #2397 from Igorbek/knockout.rx
knockout.rx updated to v1.0
This commit is contained in:
Vendored
+6
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for knockout.rx 0.1
|
||||
// Type definitions for knockout.rx 1.0
|
||||
// Project: https://github.com/Igorbek/knockout.rx
|
||||
// Definitions by: Igor Oleinikov <https://github.com/Igorbek>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@@ -13,6 +13,7 @@ interface KnockoutSubscribableFunctions<T> {
|
||||
|
||||
interface KnockoutObservableFunctions<T> {
|
||||
toObservableWithReplyLatest(): Rx.Observable<T>;
|
||||
toSubject(): Rx.ISubject<T>;
|
||||
}
|
||||
|
||||
interface KnockoutComputedFunctions<T> {
|
||||
@@ -24,4 +25,8 @@ declare module Rx {
|
||||
toKoSubscribable(): KnockoutSubscribable<T>;
|
||||
toKoObservable(initialValue?: T): KnockoutObservable<T>;
|
||||
}
|
||||
|
||||
interface Subject<T> {
|
||||
toKoObservable(initialValue?: T): KnockoutObservable<T>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user