How to type Columns when they are defined with createColumnHelper()?

When using createColumnHelper, it seems impossible to pass these columns to another component while keeping type-safety. Using ColumnDef does not work. Is there any solutions to this issue? I'm pretty sure a lot of other people are in the same boat. Ditching the column helper solves this, but we have already commited to it, and it gives benefits.

Thanks!
Was this page helpful?