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

When I install version 4, I encounter a type error. #367

Closed
doinki opened this issue Aug 28, 2024 · 0 comments · Fixed by #368
Closed

When I install version 4, I encounter a type error. #367

doinki opened this issue Aug 28, 2024 · 0 comments · Fixed by #368

Comments

@doinki
Copy link
Contributor

doinki commented Aug 28, 2024

When I install version 4, I encounter a type error. It seems to be related to using the exports field in the package.json. To resolve this, the type must be specified in the exports field.

Could not find a declaration file for module 'qrcode.react'. '.../qrcode.react/lib/esm/index.js' implicitly has an 'any' type.
  There are types at '.../qrcode.react/lib/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'qrcode.react' library may need to update its package.json or typings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant