We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've a project based on TypeScript and fuse.js@2.6.1
fuse.js@2.6.1
I'm trying to import fuse to the project:
import * as Fuse from 'fuse.js'; let fuse = new Fuse(items, config);
At typescript compilation, I've got an error:
Cannot use 'new' with an expression whose type lacks a call or construct signature.
But Fuse constructor is present at browser.
Fuse
The text was updated successfully, but these errors were encountered:
Probably related to #129.
Sorry, something went wrong.
@QuentinFchx, as I see, this issue fixed at #4f6b9b2 but still not available at the latest release on npm :(
Version 2.6.2 has been published 😄, which includes the above.
No branches or pull requests
I've a project based on TypeScript and
fuse.js@2.6.1
I'm trying to import fuse to the project:
At typescript compilation, I've got an error:
But
Fuse
constructor is present at browser.The text was updated successfully, but these errors were encountered: