`aggregationFn` types in `aggregatedCell`
Should there be some type-inference between
aggregationFn
and aggregatedCell
? I have a column with union type 'first' | 'second'
, and for example aggregationFn
of unique
shows it as "first,second". The return type of aggregatedCell.getValue()
is still just the same union, but shouldn't it in theory be ('first' | 'second')[]
? Same if I provide a custom aggregationFn
that returns an array.0 Replies