TanStack Table version
9.0.0
Framework/Library version
React 19.1.0
Describe the bug and the steps to reproduce it
I'm trying to do the quick-and-dirty migration to v9 using useLegacyTable & legacyCreateColumnHelper. One of my column definitions has an accessor column with aggregationFn set to "mean". This leads to a Typescript error, because stockFeatures (which is used implicitly when using the legacy helpers) does not have any aggregation functions registered. See codesandbox for a minimal example
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://codesandbox.io/p/devbox/4dsjf6
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No, because I do not have time to dig into it
Terms & Code of Conduct
TanStack Table version
9.0.0
Framework/Library version
React 19.1.0
Describe the bug and the steps to reproduce it
I'm trying to do the quick-and-dirty migration to v9 using useLegacyTable & legacyCreateColumnHelper. One of my column definitions has an accessor column with aggregationFn set to "mean". This leads to a Typescript error, because stockFeatures (which is used implicitly when using the legacy helpers) does not have any aggregation functions registered. See codesandbox for a minimal example
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://codesandbox.io/p/devbox/4dsjf6
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No, because I do not have time to dig into it
Terms & Code of Conduct