mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Update the WindowScroller registerChild prop typings to match the typeof that the package is expecting (#41100)
This commit is contained in:
parent
3a4a9d0e1c
commit
31b226986d
@ -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 = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user