We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7afff24 commit 173c116Copy full SHA for 173c116
src/interface.ts
@@ -67,9 +67,10 @@ export interface RenderedCell<RecordType> {
67
68
export type Direction = 'ltr' | 'rtl';
69
70
+// SpecialString will be removed in antd@6
71
export type SpecialString<T> = T | (string & {});
72
-export type DataIndex<T = any> = DeepNamePath<T> | SpecialString<T>;
73
+export type DataIndex<T = any> = DeepNamePath<T> | SpecialString<T> | number | (SpecialString<T> | number)[];
74
75
export type CellEllipsisType = { showTitle?: boolean } | boolean;
76
0 commit comments