diff --git a/packages/react-native/Libraries/Lists/SectionList.js b/packages/react-native/Libraries/Lists/SectionList.js index f75070f25e66..a39ec347fc7f 100644 --- a/packages/react-native/Libraries/Lists/SectionList.js +++ b/packages/react-native/Libraries/Lists/SectionList.js @@ -258,8 +258,7 @@ export default class SectionList< {...restProps} stickySectionHeadersEnabled={stickySectionHeadersEnabled} ref={this._captureRef} - // $FlowFixMe[missing-local-annot] - getItemCount={items => items.length} + getItemCount={(items: ReadonlyArray) => items.length} // $FlowFixMe[missing-local-annot] getItem={(items, index) => items[index]} />