Skip to content

TypeScript bundle module resolution NOT exposing correct types #205

@Archetipo95

Description

@Archetipo95

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/@nuxtjs+algolia@1.10.2_@vue+server-renderer@3.4.38_vue@3.4.38_typescript@5.5.4___magicast@0.3_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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions