Fix Flow errors in ListViewData source.
Differential Revision: D5839414 fbshipit-source-id: 7a0c7b3d27be728c74e08d3a8209deb3ca68dd63
This commit is contained in:
parent
f426a83d1b
commit
11963d824d
|
@ -21,13 +21,7 @@ var warning = require('fbjs/lib/warning');
|
||||||
|
|
||||||
function defaultGetRowData(
|
function defaultGetRowData(
|
||||||
dataBlob: any,
|
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,
|
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,
|
rowID: number | string,
|
||||||
): any {
|
): any {
|
||||||
return dataBlob[sectionID][rowID];
|
return dataBlob[sectionID][rowID];
|
||||||
|
|
Loading…
Reference in New Issue