react-virtualized-tree
react-virtualized-tree copied to clipboard
scrollToId should accept `number | string`. currently only accepts number.
Hi there. Thanks for this library.
It looks like the signature for scrollToId should either accept NodeId
as a parameter or both string || number
as NodeId may be a string or a number:
https://github.com/diogofcunha/react-virtualized-tree/blob/master/index.d.ts#L6
It currently only accepts number.