Skip to content

Commit 00da3d4

Browse files
authored
fix(AnalyticalTable): fix the typing accessor of AnalyticalTable
1 parent 78ba953 commit 00da3d4

File tree

1 file changed

+1
-1
lines changed
  • packages/main/src/components/AnalyticalTable/types

1 file changed

+1
-1
lines changed

packages/main/src/components/AnalyticalTable/types/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ export interface AnalyticalTableColumnDefinition {
329329
* __Note__: You can also specify deeply nested values with accessors like `info.hobby` or even `address[0].street`
330330
* __Note__: If no `accessor` is set, or the `accessor` is a function, the `id` property has to be set.
331331
*/
332-
accessor?: string | ((row: RowType, rowIndex: number) => any);
332+
accessor?: string | ((row: Record<string, any>, rowIndex: number) => any);
333333
/**
334334
* Defines the unique ID for the column. It is used by reference in things like sorting, grouping, filtering etc.
335335
*

0 commit comments

Comments
 (0)