Skip to content

Conversation

mohammedhamza1
Copy link

fixes #296

x: number | null;
y: number | null;
},
(args: unknown) => void

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did you changed type of args from args : unknown to (x?: number | null, y?: number | null) ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect type definition in useWindowScroll

2 participants