mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 21:40:21 +00:00
Merge pull request #17530 from quwe66/patch-1
Update SelectRow interface type, selected to be either string[] or number[]
This commit is contained in:
+1
-1
@@ -157,7 +157,7 @@ export interface SelectRow {
|
||||
Give an array data to perform which rows you want to be selected when table loading.
|
||||
The content of array should be the rowkey which you want to be selected.
|
||||
*/
|
||||
selected?: string[];
|
||||
selected?: string[] | number[];
|
||||
/**
|
||||
if true, the radio/checkbox column will be hide.
|
||||
You can enable this attribute if you enable clickToSelect and you don't want to show the selection column.
|
||||
|
||||
Reference in New Issue
Block a user