Merge pull request #3496 from GothikX/patch-1

Added the serializer configuration option
This commit is contained in:
Masahiro Wakame
2015-01-20 19:39:38 +09:00
+2 -1
View File
@@ -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;
}
}