You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm kind of new to TypeScript and I'm having trouble with the getting the types working.
I notice that the project has types defined but when I install the library with npm install --save react-qr-scanner the types are not getting picked up.
I've also tried npm i --save-dev @types/react-qr-scanner but there's no reason to do that since the types are already defined in the project.
I managed to get it working for the most part by manually moving the types defined here to my local development environment.
Is this a bug or am I just missing something here?
on a side note I have seen the types being generally defined under lib/ in the package.json's "types", I'm not sure if this helps or if it is in anyway related to the problem I'm facing.
pls elp, thanks.
The text was updated successfully, but these errors were encountered:
Hey, I'm kind of new to TypeScript and I'm having trouble with the getting the types working.
I notice that the project has types defined but when I install the library with
npm install --save react-qr-scanner
the types are not getting picked up.I've also tried
npm i --save-dev @types/react-qr-scanner
but there's no reason to do that since the types are already defined in the project.I managed to get it working for the most part by manually moving the types defined here to my local development environment.
Is this a bug or am I just missing something here?
on a side note I have seen the types being generally defined under
lib/
in the package.json's"types"
, I'm not sure if this helps or if it is in anyway related to the problem I'm facing.pls elp, thanks.
The text was updated successfully, but these errors were encountered: