Skip to content

Commit

Permalink
chore: adjust dataIndex def (#1096)
Browse files Browse the repository at this point in the history
* chore: adjust dataIndex def

* chore: cleanup

* chore: adjust
  • Loading branch information
zombieJ authored Apr 1, 2024
1 parent 99134be commit b3ff2db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ export interface RenderedCell<RecordType> {

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

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

export type DataIndex<T = any> = DeepNamePath<T> | SpecialString<T>;

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

Expand Down

0 comments on commit b3ff2db

Please sign in to comment.