Skip to content
New issue

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

TypeScript bundle module resolution NOT exposing correct types #205

Open
Archetipo95 opened this issue Aug 23, 2024 · 1 comment
Open

TypeScript bundle module resolution NOT exposing correct types #205

Archetipo95 opened this issue Aug 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Archetipo95
Copy link
Contributor

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 nuxt/nuxt#28672 (comment)

@Archetipo95 Archetipo95 added the bug Something isn't working label Aug 23, 2024
@Baroshem
Copy link
Collaborator

Thanks for reporting this issue! Would you be interested in doing some discovery and providing a fix if it is about the version of docsearch? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants