From 9b73e2a86cb3efb8288032caf3946d100a24e76b Mon Sep 17 00:00:00 2001 From: Benjamin Eckardt Date: Thu, 17 Aug 2017 20:55:29 +0200 Subject: [PATCH] prefer optional parameter to overlaoding --- types/knockout/index.d.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/types/knockout/index.d.ts b/types/knockout/index.d.ts index b3f3339177..62fe4e3e1c 100644 --- a/types/knockout/index.d.ts +++ b/types/knockout/index.d.ts @@ -567,9 +567,7 @@ interface KnockoutStatic { readValue(element: HTMLElement): any; - writeValue(element: HTMLElement, value: any): void; - - writeValue(element: HTMLElement, value: any, allowUnset: boolean): void; + writeValue(element: HTMLElement, value: any, allowUnset: boolean): void; }; components: KnockoutComponents;