Html5QrcodeScanner error - Property 'supportedScanTypes' is missing, but required
See original GitHub issueUsing the sample “Easy Mode” code in Svelte, in VSCode, I received an error of
Argument of type '{ fps: number; qrbox: { width: number; height: number; }; }' is not assignable to parameter of type 'Html5QrcodeScannerConfig'.
Property 'supportedScanTypes' is missing in type '{ fps: number; qrbox: { width: number; height: number; }; }' but required in type 'Html5QrcodeScannerConfig'.
and it is not compiling.
- OS: MacOS Monterey 12.3.1
- VSCode: Version: 1.70.1 (Universal))
- Version: 2.2.1
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
HTML5 QR Code Scanner Demo | Minhaz's Blog
clear(); // ^ this will stop the scanner (video feed) and clear the scan area. } html5QrcodeScanner.render(onScanSuccess);. [5] Optional - Handle scan failure?...
Read more >Request camera access each time my QR scanner runs
value = decodedText; html5QrcodeScanner.clear(); } function onScanFailure(error) { // handle scan failure, usually better to ignore and keep ...
Read more >mebjas/html5-qrcode (Raised $0.00)
QR code parse error, error = R: No MultiFormat Readers were able to ... Html5QrcodeScanner error - Property 'supportedScanTypes' is missing, but required....
Read more >mebjas/html5-qrcode release history - changelogs.md
Recent releases and changes to mebjas/html5-qrcode. ... Added support for supportedScanType in Html5QrcodeScanner . This feature was implemented by our ...
Read more >html5-qrcode
Html5QrcodeScanner error - Property 'supportedScanTypes' is missing, but required · Got "Error happend while scanning context".
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in v2.3.2 and published.
Please validate.
Fixed in v2.2.4
Please update the library.