pdf.js/external/dist/legacy
Michael Wu acfb54a836 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:23:43 -04:00
..
build [api-minor] Rename -es5 to -legacy, to reduce confusion over what's actually supported (issue 12976) 2021-02-10 16:01:59 +01:00
web Fix pdf_viewer definitions 2021-08-20 12:23:43 -04:00