Configure props of type PlainSearchParameters instead of SearchParameters (react-instantsearch) #6297
Closed
1 task done
Labels
triage
Issues to be categorized by the team
🐛 Current behavior
In version 7.12.2 or react-instantsearch, I get this TypeError when adding a Configure component to my app :
Type '{ hitsPerPage: number; insideBoundingBox: string; }' is not assignable to type 'IntrinsicAttributes & PlainSearchParameters'
.In
connectors/configure/connectConfigure.d.ts
, you have :🔍 Steps to reproduce
Live reproduction
https://codesandbox.io/p/sandbox/github/algolia/instantsearch/tree/templates/react-instantsearch
💭 Expected behavior
Configure props should work as advertised in the documentation : https://www.algolia.com/doc/api-reference/widgets/configure/react/#props
Package version
react-instantsearch 7.12.2
Operating system
any
Browser
all
Code of Conduct
The text was updated successfully, but these errors were encountered: