const renderItem = ({item: {urls, alt_description, user, id, color}}) => {return (<TouchableOpacity style={styles.imageItem} activeOpacity={0.6} onPress={() => navigation.navigate('Images', {id, color})}><ImageBackground style={styles.image} source={{uri: urls.regular}}><View style={styles.imageItemInfo}><Text style={styles.imageInfoTitle}>{alt_description}</Text><Text style={styles.imageInfoAuthor}>{user.username}</Text></View></ImageBackground></TouchableOpacity>);};
Got this problem here with TypeScriptenter image description here