react-virtualized-tree icon indicating copy to clipboard operation
react-virtualized-tree copied to clipboard

scrollToId should accept `number | string`. currently only accepts number.

Open mateodelnorte opened this issue 4 years ago • 0 comments

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.

mateodelnorte avatar Jul 01 '20 17:07 mateodelnorte