From 4bbed356fea1e5746965056e78c9a95b9a25086f Mon Sep 17 00:00:00 2001 From: sixinli Date: Thu, 24 Mar 2016 18:21:32 -0400 Subject: [PATCH] change `getSelected()` return type to number[] --- jquery-handsontable/jquery-handsontable.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery-handsontable/jquery-handsontable.d.ts b/jquery-handsontable/jquery-handsontable.d.ts index e2a2aea9a..48f1bf790 100644 --- a/jquery-handsontable/jquery-handsontable.d.ts +++ b/jquery-handsontable/jquery-handsontable.d.ts @@ -807,7 +807,7 @@ declare namespace Handsontable { /** * Return index of the currently selected cells as an array [startRow, startCol, endRow, endCol]. Start row and start col are the coordinates of the active cell (where the selection was started). */ - getSelected(): void; + getSelected(): number[]; /** * Returns current selection as a WalkontableCellRange object. Returns undefined if there is no selection.