farzher / fuzzysort

Fast SublimeText-like fuzzy search for JavaScript.
https://rawgit.com/farzher/fuzzysort/master/test/test.html
MIT License
3.96k stars 159 forks source link

Return type of `fuzzysort.indexes` seems wrong #128

Closed eramdam closed 5 months ago

eramdam commented 5 months ago

I've been using 1.x and I'm now upgrading to the 2.x version of the library and I noticed a change in the type of indexes. It seems it's defined as ReadonlyArray<Number> (see), is that expected? Previously it was defined as ReadonlyArray<number> so it feels like a mistake.

farzher commented 5 months ago

thank you. and get ready to upgrade to v3.0 👀

edit: looks like i fixed this already in v3, maybe i should release that soon