mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
knockout.rx: added toObservableWithReplyLatest
This commit is contained in:
Vendored
+8
@@ -6,6 +6,14 @@ interface KnockoutSubscribableFunctions<T> {
|
||||
toObservable<TEvent>(event: string): Rx.IObservable<TEvent>;
|
||||
}
|
||||
|
||||
interface KnockoutObservableFunctions<T> {
|
||||
toObservableWithReplyLatest(): Rx.IObservable<T>;
|
||||
}
|
||||
|
||||
interface KnockoutComputedFunctions<T> {
|
||||
toObservableWithReplyLatest(): Rx.IObservable<T>;
|
||||
}
|
||||
|
||||
declare module Rx {
|
||||
interface IObservable<T> {
|
||||
toKoSubscribable(): KnockoutSubscribable<T>;
|
||||
|
||||
Reference in New Issue
Block a user