cozmo / jsQR

A pure javascript QR code reading library. This library takes in raw images and will locate, extract and parse any QR code found within.
https://cozmo.github.io/jsQR/
Apache License 2.0
3.7k stars 607 forks source link

How to use QRscanner with typescript Angularjs web application ??? #109

Closed vasuvuggu closed 5 years ago

vasuvuggu commented 5 years ago

Hi all, from the documentation i couldn't get exactly, how to make use of this library after installation of this package under angularjs web application w.r.t. "@angular/cli": "~7.1.0", here documentation shows with javascript usage, but withlatest angularjs we need to use with typescript, which is not shared here, please let me know if anybody have ideas, as i am new to this technology. thank you

cozmo commented 5 years ago

So the library is written in typescript so it should "just work". Can you not import it like described here - specifically

import jsQR from "jsqr";

We use typescript at my employer and importing it like this works correctly.

cozmo commented 5 years ago

Closing this issue due to lack of activity - @vasuvuggu if you're still having issues and can provide more details to help debugging please comment/re-open.