Closed
Description
🐛 Current behavior
In the documentation here,
https://www.algolia.com/doc/api-reference/widgets/configure/react/#widget-param-searchparameters
it outlines that you should be able to define a filter on the Configure component like so,
<Configure
analytics={false}
filters="free_shipping:true"
hitsPerPage={40}
/>
Which does work as expected but when implemented in Typescript the following type error appears,
'filters' does not exist in type 'PlainSearchParameters'
.
Are we potentially not implementing this correctly, could it be and issue with using react-instantsearch-nextjs
or is there a problem with the libraries types?
Thanks!
🔍 Steps to reproduce
- Create Next 14 boilerplate with typescript
- Install react-instantsearch & react-instantsearch-nextjs
- Implement Intant Search and Configure
Live reproduction
...
💭 Expected behavior
This is a development issue. No live preview required.
Package version
7.5.0
Operating system
No response
Browser
No response
Code of Conduct
- I agree to follow this project's Code of Conduct