Closed gocarlos closed 1 year ago
Hope it's ok to tag mine here as well. Had to add new typings I guess.
Error: node_modules/angularx-qrcode/lib/angularx-qrcode.component.d.ts:3:44 - error TS7016: Could not find a declaration file for module 'qrcode'. '/Users/bracicot/dev/wallethack/node_modules/angularx-qrcode/node_modules/qrcode/lib/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/qrcode` if it exists or add a new declaration (.d.ts) file containing `declare module 'qrcode';`
3 import { QRCodeErrorCorrectionLevel } from "qrcode";
~~~~~~~~
Error: node_modules/angularx-qrcode/lib/types.d.ts:1:44 - error TS7016: Could not find a declaration file for module 'qrcode'. '/Users/bracicot/dev/wallethack/node_modules/angularx-qrcode/node_modules/qrcode/lib/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/qrcode` if it exists or add a new declaration (.d.ts) file containing `declare module 'qrcode';`
1 import { QRCodeErrorCorrectionLevel } from "qrcode";
~~~~~~~~
Hi,
thank you for your feedback!
For those looking for a quick workaround, the solution is to stop your server, run
npm i --save-dev @types/qrcode
and restart.
I will release a new version with the fix integrated.
The newly released version 15.0.1 with the fix has been published on npm.
Thanks again for your feedback 👍
great, thanks 👍
with: