You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the upgrade to V8, we now have this type below that describes an individual column filter shape.
declare type ColumnFilter = {
id: string;
value: unknown;
};
Is there a way to extend this? My current filtering setup (using v7) requires additional fields such as {op: string} that I cannot currently use. I tried to extend ColumnFilter's value prop (and access filter value using .value.value) but I can't get around the "unknown" type for value.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
With the upgrade to V8, we now have this type below that describes an individual column filter shape.
Is there a way to extend this? My current filtering setup (using v7) requires additional fields such as
{op: string}
that I cannot currently use. I tried to extend ColumnFilter's value prop (and access filter value using .value.value) but I can't get around the "unknown" type for value.Beta Was this translation helpful? Give feedback.
All reactions