Add types for searchjs filters
This release adds types for the searchjs filters. Previously, the type for the filter
used in the Config
interface was string[]
. Aside from the fact that it was the wrong type, it caused issues when using strict typing. Now when using blocknative.configuration()
with strict typing, passing the filters object in will have the correct typings.
Changelog: