Skip to content

Commit

Permalink
fix implicitly typed parameters in jquery-handsontable
Browse files Browse the repository at this point in the history
  • Loading branch information
IntelOrca committed Aug 30, 2014
1 parent f3db344 commit c3f5cd7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jquery-handsontable/jquery-handsontable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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']).
Expand Down Expand Up @@ -947,4 +947,4 @@ interface JQuery {
handsontable(): JQuery;
handsontable(methodName: string, ...arguments: any[]): any;
handsontable(options: Handsontable.Options): JQuery;
}
}

0 comments on commit c3f5cd7

Please sign in to comment.