Is there an existing issue for this?
Description of the bug
Fuse.js version: 7.4.0
fuse.js/worker is documented and works at runtime, but there are no corresponding TypeScript declarations. The published fuse.d.ts contains declarations for the main API but not for FuseWorker, causing TypeScript to fail with:
Cannot find module 'fuse.js/worker' or its corresponding type declarations.
The Fuse.js version where this bug is happening.
6.6.2
Is this a regression?
Which version did this behavior use to work in?
None
Steps To Reproduce
- install fuse.js 7.4.0
- import worker API
Expected behavior
The documented import should work in TypeScript projects without requiring custom declarations.
Screenshots
No response
Additional context
No response
Is there an existing issue for this?
Description of the bug
Fuse.js version: 7.4.0
fuse.js/worker is documented and works at runtime, but there are no corresponding TypeScript declarations. The published fuse.d.ts contains declarations for the main API but not for FuseWorker, causing TypeScript to fail with:
Cannot find module 'fuse.js/worker' or its corresponding type declarations.
The Fuse.js version where this bug is happening.
6.6.2
Is this a regression?
Which version did this behavior use to work in?
None
Steps To Reproduce
Expected behavior
The documented import should work in TypeScript projects without requiring custom declarations.
Screenshots
No response
Additional context
No response