From c3f5cd7864fa0aa032517ddda8d900bf9d1b3633 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Sat, 30 Aug 2014 16:15:42 +0100 Subject: [PATCH] fix implicitly typed parameters in jquery-handsontable --- jquery-handsontable/jquery-handsontable.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jquery-handsontable/jquery-handsontable.d.ts b/jquery-handsontable/jquery-handsontable.d.ts index 7e9b02806b..ea6e3e70ba 100644 --- a/jquery-handsontable/jquery-handsontable.d.ts +++ b/jquery-handsontable/jquery-handsontable.d.ts @@ -185,12 +185,12 @@ declare module Handsontable { /** * Lets you overwrite the default isEmptyRow method. */ - isEmptyRow? (row): boolean; + isEmptyRow?: (row: number) => boolean; /** * Lets you overwrite the default isEmptyCol method. */ - isEmptyCol? (col): boolean; + isEmptyCol?: (col: number) => boolean; /** * Turn on Manual column resize, if set to a boolean or define initial column resized widths, if set to an array of numbers. @@ -726,7 +726,7 @@ declare module Handsontable { /** * Same as above, except instead of col, you provide name of the object property (e.g. [0, 'first.name', 'Jennifer']). */ - setDataAtRowProp(row: number, prop: string, value: any, source?: string); + setDataAtRowProp(row: number, prop: string, value: any, source?: string): void; /** * Same as above, except instead of col, you provide name of the object property (e.g. [0, 'first.name', 'Jennifer']). @@ -947,4 +947,4 @@ interface JQuery { handsontable(): JQuery; handsontable(methodName: string, ...arguments: any[]): any; handsontable(options: Handsontable.Options): JQuery; -} \ No newline at end of file +} \ No newline at end of file