mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
adhoc fix knockout.postbox/knockout-postbox.d.ts
This commit is contained in:
+3
-3
@@ -20,11 +20,11 @@ interface KnockoutObservable<T> {
|
||||
}
|
||||
|
||||
interface KnockoutObservableArray<T> {
|
||||
subscribeTo(topic: string, useLastPublishedValueToInitialize?: boolean, transform?: (val: any) => T): KnockoutObservableArray<T>;
|
||||
subscribeTo(topic: string, useLastPublishedValueToInitialize?: boolean, transform?: (val: any) => any /* T */): KnockoutObservableArray<T>;
|
||||
unsubscribeFrom(topic: string): KnockoutObservableArray<T>;
|
||||
publishOn(topic: string, skipInitialPublish?: boolean, equalityComparer?: (newValue: T, oldValue: T) => boolean): KnockoutObservableArray<T>;
|
||||
publishOn(topic: string, skipInitialPublish?: boolean, equalityComparer?: (newValue: any /* T */, oldValue: any /* T */) => boolean): KnockoutObservableArray<T>;
|
||||
stopPublishingOn(topic: string): KnockoutObservableArray<T>;
|
||||
syncWith(topic: string, initializeWithLatestValue?: boolean, skipInitialPublish?: boolean, equalityComparer?: (newValue: T, oldValue: T) => boolean): KnockoutObservableArray<T>;
|
||||
syncWith(topic: string, initializeWithLatestValue?: boolean, skipInitialPublish?: boolean, equalityComparer?: (newValue: any /* T */, oldValue: any /* T */) => boolean): KnockoutObservableArray<T>;
|
||||
}
|
||||
|
||||
interface KnockoutStatic {
|
||||
|
||||
Reference in New Issue
Block a user