mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +08:00
Merge pull request #3496 from GothikX/patch-1
Added the serializer configuration option
This commit is contained in:
+2
-1
@@ -9,6 +9,7 @@ interface KnockoutPostBox {
|
||||
subscribe<T>(topic: string, handler: (value: T) => void , target?: any): KnockoutSubscription;
|
||||
publish<T>(topic: string, value?: T): void;
|
||||
defaultComparer<T>(newValue: T, oldValue: T): boolean;
|
||||
serializer: (object: any) => string;
|
||||
}
|
||||
|
||||
interface KnockoutObservable<T> {
|
||||
@@ -29,4 +30,4 @@ interface KnockoutObservableArray<T> {
|
||||
|
||||
interface KnockoutStatic {
|
||||
postbox: KnockoutPostBox;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user