Override type of "globalFilter" #5591
Unanswered
sebkasanzew
asked this question in
Ideas
Replies: 1 comment 3 replies
-
Just specify the actual package you have installed, not table-core |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to override
globalFilter
inGlobalFiltering.ts
, which is implemented like this:I tried several things like:
but it's still typed as
any
everywhere.The only thing that worked and made the override work, was modifying the source code in
GlobalFiltering.ts
:Is there any reason
globalFilter
needs to be typed asany
, or is there a way to override the type without changing it tounknown
in the source?Here is a codesandbox with my problem: codesandbox.io
Beta Was this translation helpful? Give feedback.
All reactions