Update KnockoutMappingUpdateOptions to add the missing target field

Also makes the observable field optional as it's only present if target
is a writable observable.
This commit is contained in:
John Hasselkus
2016-01-31 10:37:20 -06:00
parent 984a41af67
commit 07798ba68f
2 changed files with 15 additions and 1 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ interface KnockoutMappingCreateOptions {
interface KnockoutMappingUpdateOptions {
data: any;
parent: any;
observable: KnockoutObservable<any>;
target: any;
observable?: KnockoutObservable<any>;
}
interface KnockoutMappingOptions {