change getSelected() return type to number[]

This commit is contained in:
sixinli
2016-03-24 18:21:32 -04:00
parent a44529fcb1
commit 4bbed356fe
+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.