@tanstack/table-core 8.1.1 → 8.1.2

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.
@@ -651,7 +651,7 @@ declare type RowModel<TData extends RowData> = {
651
651
  rowsById: Record<string, Row<TData>>;
652
652
  };
653
653
  declare type AccessorFn<TData extends RowData> = (originalRow: TData, index: number) => any;
654
- declare type ColumnDefTemplate<TProps extends object> = string | ((props: TProps) => unknown);
654
+ declare type ColumnDefTemplate<TProps extends object> = string | ((props: TProps) => any);
655
655
  declare type ColumnDef<TData extends RowData> = CoreColumnDef<TData> & VisibilityColumnDef & ColumnPinningColumnDef & FiltersColumnDef<TData> & SortingColumnDef<TData> & GroupingColumnDef<TData> & ColumnSizingColumnDef;
656
656
  declare type Column<TData extends RowData> = CoreColumn<TData> & VisibilityColumn & ColumnPinningColumn & FiltersColumn<TData> & SortingColumn<TData> & GroupingColumn<TData> & ColumnSizingColumn;
657
657
  declare type Cell<TData extends RowData> = CoreCell<TData> & GroupingCell;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tanstack/table-core",
3
3
  "author": "Tanner Linsley",
4
- "version": "8.1.1",
4
+ "version": "8.1.2",
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
@@ -172,7 +172,7 @@ export type AccessorFn<TData extends RowData> = (
172
172
 
173
173
  export type ColumnDefTemplate<TProps extends object> =
174
174
  | string
175
- | ((props: TProps) => unknown)
175
+ | ((props: TProps) => any)
176
176
 
177
177
  export type ColumnDef<TData extends RowData> = CoreColumnDef<TData> &
178
178
  VisibilityColumnDef &