Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace undefined with null in the getScrollElement API description. #643

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

jonahallibone
Copy link
Contributor

The return type for getScrollElement is TScrollElement | null.

undefined is not a valid option.

The return type for `getScrollElement` is `TScrollElement | null`. 

`undefined` is not a valid option.
@jonahallibone jonahallibone changed the title Update virtualizer.md Replace undefined with null in the getScrollElement API description. Jan 10, 2024
@piecyk piecyk merged commit 0a73be9 into TanStack:main Jan 10, 2024
1 of 2 checks passed
@jonahallibone jonahallibone deleted the patch-1 branch January 11, 2024 02:35
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.

2 participants