TanStackT
TanStack3y ago
1 reply
ordinary-sapphire

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
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...
How to properly type columns when using createColumnHelper? · TanSt...
Was this page helpful?