Fuse icon indicating copy to clipboard operation
Fuse copied to clipboard

Return removed item when calling `removeAt`

Open GMartigny opened this issue 3 years ago • 0 comments

Description

When calling remove, Fuse.js returns all removed items. This is not the case with removeAt and I found it confusing.

Describe the solution you'd like

Saving the result of the splice method and returning it to the user would be great.

Describe alternatives you've considered

I can look at the docs in the fuse instance before calling removeAt.

GMartigny avatar Jul 05 '22 12:07 GMartigny