accessor function returning number gives Typescript error
The
weight is a number, If I have this column:
It would give a long TS error on the Table comoponent:
The error goes away if I change the first argument of accessor from "weight" to (row) => row.weight.toLocaleString()
The question: Should the accessor function always return string?0 Replies