From eb6943ffe0411e7570b39b309d51c0b8faf191f5 Mon Sep 17 00:00:00 2001 From: Mingyu Cui Date: Thu, 28 Mar 2024 13:14:45 -0400 Subject: [PATCH] fix: export AccessorFnColumnDefBase (#5445) --- packages/table-core/src/types.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/table-core/src/types.ts b/packages/table-core/src/types.ts index 1b06720f32..26bf47939e 100644 --- a/packages/table-core/src/types.ts +++ b/packages/table-core/src/types.ts @@ -293,8 +293,10 @@ export type GroupColumnDef< TValue = unknown, > = GroupColumnDefBase & ColumnIdentifiers -interface AccessorFnColumnDefBase - extends ColumnDefBase { +export interface AccessorFnColumnDefBase< + TData extends RowData, + TValue = unknown, +> extends ColumnDefBase { accessorFn: AccessorFn }