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

Cannot find module '@yudiel/react-qr-scanner' or its corresponding type declarations. #1

Closed
invitatodev opened this issue Aug 17, 2022 · 2 comments

Comments

@invitatodev
Copy link

What?

Type declarations not working in Next.js

Dev Environment

  • Next.js 12.2.4 with TypeScript
  • node js v14.19.3
  • MacOS

Screenshot

image

@yudielcurbelo
Copy link
Owner

This issue is fixed in the new version. Please note that the import has changed to
import {QrScanner} from '@yudiel/react-qr-scanner';

@invitatodev
Copy link
Author

Working properly now. Thank you @yudielcurbelo !
image

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

No branches or pull requests

2 participants