@tanstack/table-core 8.9.10 → 8.9.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tanstack/table-core",
3
3
  "author": "Tanner Linsley",
4
- "version": "8.9.10",
4
+ "version": "8.9.11",
5
5
  "description": "Headless UI for building powerful tables & datagrids for TS/JS.",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/tanstack/table#readme",
package/src/utils.ts CHANGED
@@ -43,16 +43,16 @@ type AllowedIndexes<
43
43
  ? AllowedIndexes<Tail, Keys | Tail['length']>
44
44
  : Keys
45
45
 
46
- export type DeepKeys<T, TDepth extends any[] = []> = TDepth['length'] extends 10
46
+ export type DeepKeys<T, TDepth extends any[] = []> = TDepth['length'] extends 5
47
47
  ? never
48
48
  : unknown extends T
49
- ? keyof T
49
+ ? string
50
50
  : object extends T
51
51
  ? string
52
52
  : T extends readonly any[] & IsTuple<T>
53
53
  ? AllowedIndexes<T> | DeepKeysPrefix<T, AllowedIndexes<T>, TDepth>
54
54
  : T extends any[]
55
- ? never & 'Dynamic length array indexing is not supported'
55
+ ? DeepKeys<T[number], [...TDepth, any]>
56
56
  : T extends Date
57
57
  ? never
58
58
  : T extends object