diff --git a/packages/table-core/src/utils.ts b/packages/table-core/src/utils.ts index 0caef6567b..f536843727 100755 --- a/packages/table-core/src/utils.ts +++ b/packages/table-core/src/utils.ts @@ -47,17 +47,15 @@ export type DeepKeys = TDepth['length'] extends 5 ? never : unknown extends T ? string - : object extends T - ? string - : T extends readonly any[] & IsTuple - ? AllowedIndexes | DeepKeysPrefix, TDepth> - : T extends any[] - ? DeepKeys - : T extends Date - ? never - : T extends object - ? (keyof T & string) | DeepKeysPrefix - : never + : T extends readonly any[] & IsTuple + ? AllowedIndexes | DeepKeysPrefix, TDepth> + : T extends any[] + ? DeepKeys + : T extends Date + ? never + : T extends object + ? (keyof T & string) | DeepKeysPrefix + : never type DeepKeysPrefix< T,