diff --git a/src/components/Table/src/types/table.ts b/src/components/Table/src/types/table.ts index ad1624976..24b177b2a 100644 --- a/src/components/Table/src/types/table.ts +++ b/src/components/Table/src/types/table.ts @@ -87,7 +87,7 @@ export interface TableActionType { getSelectRows: () => T[]; clearSelectedRowKeys: () => void; expandAll: () => void; - expandRows: (keys: string[]) => void; + expandRows: (keys: string[] | number[]) => void; collapseAll: () => void; scrollTo: (pos: string) => void; // pos: id | "top" | "bottom" getSelectRowKeys: () => string[];