This website requires JavaScript.
Explore
Help
Sign In
Sakurai
/
pdf.js
Watch
1
Star
0
Fork
0
You've already forked pdf.js
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
ada283cc35
pdf.js
/
external
/
dist
/
web
/
pdf_viewer.d.ts
2 lines
59 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Fix pdf_viewer definitions Current pdf_viewer definitions result in errors like the following when trying to use them in a ts project: [error] TypeScript error node_modules/.pnpm/pdfjs-dist@2.10.377/node_modules/pdfjs-dist/web/pdf_viewer.d.ts:1:15 - error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing 'pdfjs-dist/types/web/pdf_viewer.component.js' instead. 1 export * from "pdfjs-dist/types/web/pdf_viewer.component.d.ts"; Import/export statements in typescript should not include file extensions.
2021-08-20 12:32:58 +09:00
export
*
from
"pdfjs-dist/types/web/pdf_viewer.component"
;
Reference in New Issue
Copy Permalink