File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,10 @@ import type { Config as UDividerConfig } from "../ui.container-divider/types";
66
77export type Config = typeof defaultConfig ;
88
9- type RowKeys = number | string | boolean | undefined | Date | Row | Row [ ] | ( ( row : Row ) => string ) ;
10-
119export interface CellObject {
1210 contentClass ?: string | ( ( value : unknown | string , row : Row ) => string ) ;
1311 class ?: string | ( ( value : unknown | string , row : Row ) => string ) ;
14- [ key : string ] : unknown | string ;
12+ [ key : string ] : unknown ;
1513}
1614
1715export type RowId = string | number ;
@@ -32,7 +30,7 @@ export interface Row {
3230 rowDate ?: string | Date ;
3331 row ?: Row | Row [ ] ;
3432 class ?: string | ( ( row : Row ) => string ) ;
35- [ key : string ] : Cell | RowKeys ;
33+ [ key : string ] : unknown ;
3634}
3735
3836export interface FlatRow extends Row {
You can’t perform that action at this time.
0 commit comments