Skip to content

Typescript support/quesiton #765

Answered by JeffBeltran
JeffBeltran asked this question in Q&A
Discussion options

You must be logged in to vote

well i figured it out, i'll leave this here just incase anyone else gets stuck like me

i had the createAutocomplete method incorrectly typed as createAutocomplete<AlgoliaAutocompleteItem> vs createAutocomplete< AlgoliaAutocompleteItem, React.BaseSyntheticEvent, React.MouseEvent, React.KeyboardEvent >

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by francoischalifour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant