Closed reiyanyan closed 1 year ago
vue-tsc --noEmit will produce this error
vue-tsc --noEmit
node_modules/qrcode-vue3/src/QRCodeVue3.vue:7:23 - 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...'.
had no other option, caused of --skipLibCheck didn't work for skipping check library
--skipLibCheck
vue-tsc --noEmit
will produce this errornode_modules/qrcode-vue3/src/QRCodeVue3.vue:7:23 - 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...'.
had no other option, caused of
--skipLibCheck
didn't work for skipping check library