Skip to content
Source
Sign inSign up
TanStack/table

fix: type aggregatedCell against bound cellComponents in createAppColumnHelper #6589

Opencpruijsen(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/6589/headopened

Showing 10 changed files with 40 additions and 8 deletions (loading 7).

x
0 of 10 viewed, 10 left
12 additions and 0 deletions.changeset/bound-aggregated-cell-components.mdAdded
View file
@@ -0,0 +1,12 @@
+---
+'@tanstack/angular-table': patch
+'@tanstack/lit-table': patch
+'@tanstack/octane-table': patch
+'@tanstack/preact-table': patch
+'@tanstack/react-table': patch
+'@tanstack/solid-table': patch
+'@tanstack/svelte-table': patch
+'@tanstack/vue-table': patch
+---
+​
+Type `aggregatedCell` against bound `cellComponents` in `createAppColumnHelper`, matching `cell`.
14 additions and 4 deletionspackages/angular-table/src/helpers/createTableHook.tsModified
View file
@@ -85,7 +85,8 @@
string | ((props: TProps) => any)
​
/**
- * Enhanced column definition base with pre-bound components in cell/header/footer contexts.
+ * Enhanced column definition base with pre-bound components in
+ * cell/aggregatedCell/header/footer contexts.
*/
export type AppColumnDefBase<
TFeatures extends TableFeatures,
@@ -95,11 +96,14 @@
THeaderComponents extends Record<string, RenderableComponent>,
> = Omit<
IdentifiedColumnDef<TFeatures, TData, TValue>,