title: Error React Native Typescript : Element type 'MutableRefObject<never[]>'
body: <p>I have this error with my code :
  Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'MutableRefObject&lt;never[]&gt;'</p>
  <p>Howether I can't resolve it by changing my items.</p>
  <p>Here is my code:</p>
  <pre><code>const Comp = (props: { items: any[] }) =&gt; {
    const refs = useRef([]);
  
    return (
      &lt;&gt;
        {props.items.map((i) =&gt; (
          &lt;div key={i} ref={(el) =&gt; (refs[i] = el)}&gt;
            {i}
          &lt;/div&gt;
        ))}
      &lt;/&gt;
    );
  };
  </code></pre>