mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
added missing API for ko.selectExtensions.writeValue()
This commit is contained in:
Vendored
+4
-2
@@ -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
|
||||
/////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user