diff --git a/types/knockout/index.d.ts b/types/knockout/index.d.ts index 27e583722f..b3f3339177 100644 --- a/types/knockout/index.d.ts +++ b/types/knockout/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for Knockout v3.4.0 // Project: http://knockoutjs.com -// Definitions by: Boris Yankov , Igor Oleinikov , Clément Bourgeois , Matt Brooks +// Definitions by: Boris Yankov , Igor Oleinikov , Clément Bourgeois , Matt Brooks , Benjamin Eckardt // 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 /////////////////////////////////