mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-13 08:01:58 +08:00
Fix Flow errors in ListViewData source.
Differential Revision: D5839414 fbshipit-source-id: 7a0c7b3d27be728c74e08d3a8209deb3ca68dd63
This commit is contained in:
committed by
Facebook Github Bot
parent
f426a83d1b
commit
11963d824d
@@ -21,13 +21,7 @@ var warning = require('fbjs/lib/warning');
|
||||
|
||||
function defaultGetRowData(
|
||||
dataBlob: any,
|
||||
/* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an error
|
||||
* found when Flow v0.53 was deployed. To see the error delete this comment
|
||||
* and run Flow. */
|
||||
sectionID: number | string,
|
||||
/* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an error
|
||||
* found when Flow v0.53 was deployed. To see the error delete this comment
|
||||
* and run Flow. */
|
||||
rowID: number | string,
|
||||
): any {
|
||||
return dataBlob[sectionID][rowID];
|
||||
|
||||
Reference in New Issue
Block a user