Merge pull request #8715 from sixinli/patch-2

change `getSelected()` return type to number[]
This commit is contained in:
Masahiro Wakame
2016-03-27 01:24:42 +09:00
+1 -1
View File
@@ -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.