You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type for FuseIndex isn't exported in the Fuse namespace
Version
6.4.1
Is this a regression?
No
🔬Minimal Reproduction
import { FuseIndex } from "fuse.js"
Additional context
This makes it impossible to type the result of Fuse.createIndex without actually calling the method (say, storing the value in a map or loading from disk).
A non-obvious workaround is to do:
ReturnType<Fuse<GenericArgument>["getIndex"]>
The text was updated successfully, but these errors were encountered:
Describe the bug
The type for FuseIndex isn't exported in the Fuse namespace
Version
6.4.1
Is this a regression?
No
🔬Minimal Reproduction
import { FuseIndex } from "fuse.js"
Additional context
This makes it impossible to type the result of Fuse.createIndex without actually calling the method (say, storing the value in a map or loading from disk).
A non-obvious workaround is to do:
The text was updated successfully, but these errors were encountered: