@tanstack/table-core 8.5.10 → 8.5.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/build/stats-html.html +1 -1
- package/build/stats-react.json +308 -308
- package/build/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/types.ts +1 -1
package/build/types/index.d.ts
CHANGED
|
@@ -675,7 +675,7 @@ declare type AccessorFnColumnDef<TData extends RowData, TValue = unknown> = Colu
|
|
|
675
675
|
declare type AccessorKeyColumnDef<TData extends RowData, TValue = unknown> = {
|
|
676
676
|
id?: string;
|
|
677
677
|
} & Partial<ColumnIdentifiers<TData, TValue>> & ColumnDefBase<TData, TValue> & {
|
|
678
|
-
accessorKey:
|
|
678
|
+
accessorKey: string | keyof TData;
|
|
679
679
|
};
|
|
680
680
|
declare type AccessorColumnDef<TData extends RowData, TValue = unknown> = AccessorKeyColumnDef<TData, TValue> | AccessorFnColumnDef<TData, TValue>;
|
|
681
681
|
declare type ColumnDef<TData extends RowData, TValue = unknown> = DisplayColumnDef<TData, TValue> | GroupColumnDef<TData, TValue> | AccessorColumnDef<TData, TValue>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/table-core",
|
|
3
3
|
"author": "Tanner Linsley",
|
|
4
|
-
"version": "8.5.
|
|
4
|
+
"version": "8.5.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/types.ts
CHANGED
|
@@ -242,7 +242,7 @@ export type AccessorKeyColumnDef<TData extends RowData, TValue = unknown> = {
|
|
|
242
242
|
id?: string
|
|
243
243
|
} & Partial<ColumnIdentifiers<TData, TValue>> &
|
|
244
244
|
ColumnDefBase<TData, TValue> & {
|
|
245
|
-
accessorKey:
|
|
245
|
+
accessorKey: string | keyof TData
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
export type AccessorColumnDef<TData extends RowData, TValue = unknown> =
|