title: Typescript: property "title" does not exist on type 'never'
body: <p>I am practicing React-native typescript. I fetched the data from <a href="https://jsonplaceholder.typicode.com/photos" rel="nofollow noreferrer">jsonplaceholer API</a> and added to my component state. After mapping the state and try to render on my mobile. But I am getting typescript error on my terminal: <code>property "title" does not exist on type 'never'</code>. </p>
  
  <p><strong>This is my app component</strong></p>
  
  <pre><code>import React, { useState, useEffect } from "react";
  import { StyleSheet, Text, View, ScrollView, Image } from "react-native";
  
  export default function App() {
    const [state, setstate] = useState([]);
  
    useEffect(() =&gt; {
      fetchData();
    }, []);
  
    const fetchData = async () =&gt; {
      const response = await fetch("https://jsonplaceholder.typicode.com/photos");
      const data = await response.json();
      setstate(data);
    };
  
    return (
      &lt;ScrollView style={styles.body}&gt;
        &lt;View style={styles.container}&gt;
          {state.map(list =&gt; {
            return &lt;Text&gt;{list.title}&lt;/Text&gt;; //
          })}
        &lt;/View&gt;
      &lt;/ScrollView&gt;
    );
  }
  
  const styles = StyleSheet.create({
    body: {
      padding: 150
    },
    container: {
      flex: 1,
      backgroundColor: "white",
      alignItems: "center",
      justifyContent: "center"
    },
  
    stretch: {
      width: 50,
      height: 200,
      resizeMode: "stretch"
    }
  });
  </code></pre>