lucaong / minisearch

Tiny and powerful JavaScript full-text search engine for browser and Node
https://lucaong.github.io/minisearch/
MIT License
4.64k stars 133 forks source link

Bug: "types" refer to non-existing folder #269

Closed gorenburg closed 1 month ago

gorenburg commented 1 month ago

Good day!

"types": "./dist/types/index.d.ts" in the package.json refers to non-existing directory in the package which results in Could not find a declaration file for module 'minisearch'. error

Screenshot 2024-07-15 at 11 00 46
brenoepics commented 1 month ago

same here

lucaong commented 1 month ago

@gorenburg thanks for the report, and @brenoepics thanks for the fix. I'll apply the fix and make a new release

lucaong commented 1 month ago

Version v7.0.1 including @brenoepics 's fix is now live on NPM. Thanks everyone!