diff --git a/types/react-virtualized/dist/es/WindowScroller.d.ts b/types/react-virtualized/dist/es/WindowScroller.d.ts index e1f783ce9d..4cf0295910 100644 --- a/types/react-virtualized/dist/es/WindowScroller.d.ts +++ b/types/react-virtualized/dist/es/WindowScroller.d.ts @@ -13,7 +13,7 @@ export type WindowScrollerChildProps = { scrollTop: number; scrollLeft: number; onChildScroll: (params: { scrollTop: number }) => void; - registerChild: (element?: React.ReactElement) => void; + registerChild: (element?: React.ReactNode) => void; }; export type WindowScrollerProps = {