diff --git a/Libraries/Components/Keyboard/__tests__/Keyboard-test.js b/Libraries/Components/Keyboard/__tests__/Keyboard-test.js index 3a2385ff3cd87d..8109589853aca5 100644 --- a/Libraries/Components/Keyboard/__tests__/Keyboard-test.js +++ b/Libraries/Components/Keyboard/__tests__/Keyboard-test.js @@ -31,6 +31,7 @@ describe('Keyboard', () => { // $FlowFixMe expect(Keyboard._subscriber).toBe(KeyboardEventEmitter._subscriber); + // $FlowFixMe Cannot access private property expect(Keyboard._nativeModule).toBe(KeyboardEventEmitter._nativeModule); }); diff --git a/Libraries/Lists/VirtualizedSectionList.js b/Libraries/Lists/VirtualizedSectionList.js index c903663757c997..aaeda79f4df5fc 100644 --- a/Libraries/Lists/VirtualizedSectionList.js +++ b/Libraries/Lists/VirtualizedSectionList.js @@ -140,6 +140,7 @@ class VirtualizedSectionList< } let viewOffset = params.viewOffset || 0; if (params.itemIndex > 0 && this.props.stickySectionHeadersEnabled) { + // $FlowFixMe Cannot access private property const frame = this._listRef._getFrameMetricsApprox( index - params.itemIndex, );