scholtz / qrcode-vue3

MIT License
86 stars 32 forks source link

Error when Build apps- Vue 3 Typescript #20

Closed welldyrosman closed 1 year ago

welldyrosman commented 1 year ago

I have problem when build apps,

transforming (331) node_modules\@popperjs\core\lib\dom-utils\getParentNode.jsnode_modules/qrcode-vue3/src/QRCodeVue3.vue:7:23 - error TS2339: Property 'onDownloadClick' does not exist on type 'Vue3Instance<{ imageUrl: string; qrCode: QRCodeStyling; }, Readonly<ExtractPropTypes<{ width: { type: NumberConstructor; default: number; }; imgclass: { type: StringConstructor; default: string; }; ... 14 more ...; downloadOptions: { ...; }; }>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 5 more ... & Readonly...'.

7 <button @click="onDownloadClick" :class="downloadButton">

welldyrosman commented 1 year ago

duplicate