Skip to content

Commit

Permalink
chore: adjust dataIndex def
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Apr 1, 2024
1 parent 99134be commit 9bdcfb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export interface RenderedCell<RecordType> {

export type Direction = 'ltr' | 'rtl';

export type DataIndex<T = any> = DeepNamePath<T> | '';
export type DataIndex<T = any> = DeepNamePath<T> | (string | {});

export type CellEllipsisType = { showTitle?: boolean } | boolean;

Expand Down

0 comments on commit 9bdcfb5

Please sign in to comment.