mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-10 09:40:21 +08:00
Remove extraneous character in react-native types
Remove extraneous `}` in `FlatList` `renderItem` definition
This commit is contained in:
2
types/react-native/index.d.ts
vendored
2
types/react-native/index.d.ts
vendored
@@ -3700,7 +3700,7 @@ export interface FlatListProps<ItemT> extends VirtualizedListProps<ItemT> {
|
||||
* ```
|
||||
* _renderItem = ({item}) => (
|
||||
* <TouchableOpacity onPress={() => this._onPress(item)}>
|
||||
* <Text>{item.title}}</Text>
|
||||
* <Text>{item.title}</Text>
|
||||
* <TouchableOpacity/>
|
||||
* );
|
||||
* ...
|
||||
|
||||
Reference in New Issue
Block a user