I've a project based on TypeScript and [email protected]
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.
Probably related to https://github.com/krisk/Fuse/pull/129.
@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.
Most helpful comment
Version 2.6.2 has been published 馃槃, which includes the above.