algolia
algolia copied to clipboard
TypeScript bundle module resolution NOT exposing correct types
Version
@nuxtjs/algolia: latest nuxt: 3.13.0
Reproduction Link
Dont have it
Steps to reproduce
What is Expected?
Typecheck not to throw errors
What is actually happening?
Typecheck error thrown from AlgoliaDocSearch
../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected][email protected]_gmv53hnb7zexxkglosjulg7kzy/node_modules/@nuxtjs/algolia/dist/runtime/components/AlgoliaDocSearch.vue:10:60
error TS2307: Cannot find module '@docsearch/react' or its corresponding type declarations.
The issue might be that the version of @docsearch/react used in the module did not expose correct types for TypeScript bundle module resolution, as suggested by @danielroe in https://github.com/nuxt/nuxt/issues/28672#issuecomment-2307129335