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

fix: ensuring consistent interface for scrollToId #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mateodelnorte
Copy link

@mateodelnorte mateodelnorte commented Jul 6, 2020

fixes #134 and fixes scrollToId to correctly allow both string and number, as NodeId allows: https://github.com/diogofcunha/react-virtualized-tree/blob/master/index.d.ts#L9

Would be great to get this merged in, so that everyone using the npm package could benefit from the updated TS typings.

Thanks!

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.498% when pulling 8bf901b on mateodelnorte:fix/consistent-signature-for-scrollToId into dfaaf74 on diogofcunha:master.

@mateodelnorte
Copy link
Author

@diogofcunha Can this PR be merged? There should be zero side effects to the fix.

@Strandinator
Copy link

#153 also addresses this

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.

scrollToId should accept number | string. currently only accepts number.
3 participants