pdfvuer icon indicating copy to clipboard operation
pdfvuer copied to clipboard

TypeScript suport to fix: {Module 'pdfvuer' is missing}

Open TiphanieA opened this issue 5 years ago • 7 comments

pdfviewer

I have installed pdfvuer with npm install --save pdfvuer but module is missing. I see pdfvuer in package.json file.

TiphanieA avatar Feb 11 '20 14:02 TiphanieA

+1

Pijuli avatar Feb 12 '20 15:02 Pijuli

+1

kicaal avatar Feb 12 '20 15:02 kicaal

Tried releases down to version 1.0.5. with the same result.

skylercole avatar Feb 27 '20 13:02 skylercole

Like i can't use pdfvuer, i have created my own vuejs component using pdf.js.

TiphanieA avatar Feb 27 '20 14:02 TiphanieA

Just planning on the same here. vue-pdf package has the same issue too.

skylercole avatar Feb 27 '20 14:02 skylercole

@TiphanieA @skylercole @kicaal @Pijuli TS support isn't there yet. I'll plan this in next release!

arkokoley avatar Jun 21 '20 13:06 arkokoley

If you want a work around just add // @ts-ignore before import pdf from 'pdfvuer' or create your own typings using index.d.ts

ponnex avatar Jun 30 '20 00:06 ponnex