Skip to content

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