Typescript error: Type 'Renderer' is not assignable to type 'Render'. #1009
                  
                    
                      benaiahbarango
                    
                  
                
                  started this conversation in
                General
              
            Replies: 3 comments
-
| 
         I'm having the same issue, would love to know how to fix this.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         Anyone found a quick fix?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         It is now written in the same sandbox as follows: import type { Render } from '@algolia/autocomplete-js';
const autocompleteInstance = autocomplete({
  renderer: { createElement, Fragment, render: render as Render },
});I hope this helps.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 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'm getting this TS error following the new docs for autocomplete using react-instant-search-hooks: https://www.algolia.com/doc/ui-libraries/autocomplete/integrations/with-react-instantsearch-hooks/.
I'm using the exact package versions from this sandbox (https://codesandbox.io/s/github/algolia/autocomplete/tree/next/examples/react-instantsearch-hooks?file=/src/App.tsx)
Does anyone have an idea how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions