diff --git a/src/helpers/qr.js b/src/helpers/qr.js index df931eb..0799663 100644 --- a/src/helpers/qr.js +++ b/src/helpers/qr.js @@ -23,6 +23,7 @@ let qrWidth = 2 + 33 + 2; * @param {QrOpts} opts */ export function create(data, opts) { + // @ts-ignore return new QRCode({ ...opts, content: data, diff --git a/src/rigs/scan.js b/src/rigs/scan.js index 09b7d02..61f3509 100644 --- a/src/rigs/scan.js +++ b/src/rigs/scan.js @@ -51,6 +51,7 @@ export let scanContactRig = (function (globals) { fields: html``, events: { handleRender: state => { + // @ts-ignore state.qrCodeScanner = new Html5Qrcode( `${state.slugs.form}_reader`, {