mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Fix test
This commit is contained in:
@@ -209,7 +209,7 @@ export class FlatListTest {
|
||||
render() {
|
||||
<FlatList
|
||||
data={[1, 2, 3, 4, 5]}
|
||||
renderItem={(itemInfo: number) => <View><Text>{itemInfo}</Text></View>}
|
||||
renderItem={(info: { item: number }) => <View><Text>{info.item}</Text></View>}
|
||||
/>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user