diff --git a/Libraries/Lists/VirtualizedListContext.js b/Libraries/Lists/VirtualizedListContext.js index 904947c428f..bca5724498a 100644 --- a/Libraries/Lists/VirtualizedListContext.js +++ b/Libraries/Lists/VirtualizedListContext.js @@ -8,7 +8,8 @@ * @format */ -import VirtualizedList from './VirtualizedList'; +import typeof VirtualizedList from './VirtualizedList'; + import * as React from 'react'; import {useContext, useMemo} from 'react'; @@ -25,13 +26,13 @@ type Context = $ReadOnly<{ zoomScale: number, }, horizontal: ?boolean, - getOutermostParentListRef: () => React.ElementRef, + getOutermostParentListRef: () => React.ElementRef, registerAsNestedChild: ({ cellKey: string, - ref: React.ElementRef, + ref: React.ElementRef, }) => void, unregisterAsNestedChild: ({ - ref: React.ElementRef, + ref: React.ElementRef, }) => void, }>;