Closed ghost closed 5 years ago
This looks far better than current one. I hope it will get released, thanks @konjac-potage!
Well done. I like it!
It would be nice if the sample on the website can be updated to reflect these changes. Got a lot of build errors after upgrading but thankfully it was as easy as adding as V[]
to my return statement (return fuzzyFuse.search(locquery) as V[];
). I'm sure it won't be as easy a solution for everyone though.
Are you sure this is not breaking change? Or even minor release.
TypeScript Playground Links: Current version / PR version
fuse.search
should returnstring[]
with option includesid
Current:
PR:
score: number | undefined
is troublesome to handle with--strictNullChecks
Current:
PR:
with no-literal option object, TS cannot infer type of return of
search()
(#303)Current:
this is not fixed, but now type inference can be overridden
PR:
248ee3176a9bf181d8425570981da82cedc4d695 is not working
Current:
PR: