From f3db344825d769791657f19925333ca965286e46 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Sat, 30 Aug 2014 16:10:05 +0100 Subject: [PATCH] fix errors in jquery-handsontable --- jquery-handsontable/jquery-handsontable.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jquery-handsontable/jquery-handsontable.d.ts b/jquery-handsontable/jquery-handsontable.d.ts index dbb0d23d6..7e9b02806 100644 --- a/jquery-handsontable/jquery-handsontable.d.ts +++ b/jquery-handsontable/jquery-handsontable.d.ts @@ -367,7 +367,7 @@ declare module Handsontable { /** * A plugin hook executed before validator function, only if validator function is defined. This can be used to manipulate value of changed cell before it is applied to the validator function. NOTICE: this will not affect values of changes. This will change value ONLY for validation! */ - beforeValidate?: (value: any, row; number, prop: string, source: string) => void; + beforeValidate?: (value: any, row: number, prop: string, source: string) => void; /** * Callback fired after Handsontable instance is initiated. @@ -945,6 +945,6 @@ declare module Handsontable { interface JQuery { handsontable(): JQuery; - handsontable(methodName: string, ...arguments?: any[]): any; + handsontable(methodName: string, ...arguments: any[]): any; handsontable(options: Handsontable.Options): JQuery; -} \ No newline at end of file +} \ No newline at end of file