added missing API for ko.selectExtensions.writeValue()

This commit is contained in:
Benjamin Eckardt
2017-08-16 19:04:59 +02:00
parent c5d04fb2d5
commit 5c78e49e1b
+4 -2
View File
@@ -1,6 +1,6 @@
// Type definitions for Knockout v3.4.0
// Project: http://knockoutjs.com
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Igor Oleinikov <https://github.com/Igorbek/>, Clément Bourgeois <https://github.com/moonpyk/>, Matt Brooks <https://github.com/EnableSoftware>
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Igor Oleinikov <https://github.com/Igorbek/>, Clément Bourgeois <https://github.com/moonpyk/>, Matt Brooks <https://github.com/EnableSoftware>, Benjamin Eckardt <https://github.com/BenjaminEckardt>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -568,6 +568,8 @@ interface KnockoutStatic {
readValue(element: HTMLElement): any;
writeValue(element: HTMLElement, value: any): void;
writeValue(element: HTMLElement, value: any, allowUnset: boolean): void;
};
components: KnockoutComponents;
@@ -587,7 +589,7 @@ interface KnockoutStatic {
/////////////////////////////////
tasks: KnockoutTasks;
/////////////////////////////////
// utils.js
/////////////////////////////////