Fix Flow errors in ListViewData source.

Differential Revision: D5839414

fbshipit-source-id: 7a0c7b3d27be728c74e08d3a8209deb3ca68dd63
This commit is contained in:
Naman Goel 2017-09-19 16:50:30 -07:00 committed by Facebook Github Bot
parent f426a83d1b
commit 11963d824d
1 changed files with 0 additions and 6 deletions

View File

@ -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];