T
TanStack2y ago
equal-aqua

how to type columns when using createColumnHelper

Hi, I recently asked a question on Github https://github.com/TanStack/table/discussions/5218 about typings for columns when using createColumnHelper(), does anyone know how it could be properly typed without using any?
GitHub
How to properly type columns when using createColumnHelper? · TanSt...
Hi, does anyone know how to properly type columns when table is extracted into it's own component? The type should be ColumnDef which is a union type where is AccessorColumnDef which is a union...
1 Reply
xenophobic-harlequin
xenophobic-harlequin2y ago
I think this must be the same issue I'm having.

Did you find this page helpful?