Pre-suppress errors before the next Flow release

Summary: Changelog: [Internal]

Reviewed By: fred2028

Differential Revision: D42006446

fbshipit-source-id: de6c327a540e5085ac196679cf7db7db8a681298
This commit is contained in:
Sam Zhou
2022-12-13 16:50:33 -08:00
committed by Facebook GitHub Bot
parent 455ca8cfaf
commit fc3565ce8d
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -248,7 +248,9 @@ export default class SectionList<
{...restProps}
stickySectionHeadersEnabled={stickySectionHeadersEnabled}
ref={this._captureRef}
// $FlowFixMe[missing-local-annot]
getItemCount={items => items.length}
// $FlowFixMe[missing-local-annot]
getItem={(items, index) => items[index]}
/>
);