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 99134be commit b3ff2dbCopy full SHA for b3ff2db
src/interface.ts
@@ -67,7 +67,9 @@ export interface RenderedCell<RecordType> {
67
68
export type Direction = 'ltr' | 'rtl';
69
70
-export type DataIndex<T = any> = DeepNamePath<T> | '';
+export type SpecialString<T> = T | (string & {});
71
+
72
+export type DataIndex<T = any> = DeepNamePath<T> | SpecialString<T>;
73
74
export type CellEllipsisType = { showTitle?: boolean } | boolean;
75
0 commit comments