Skip to content

Commit

Permalink
fix: export types from pdfjs-dist (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltigerchino authored Jan 13, 2024
1 parent 6c39d1a commit d651c33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pdfjs-serverless/rollup/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export function pdfjsTypes(): Plugin {
import * as PDFJS from './types/src/pdf'
declare function resolvePDFJS(): Promise<typeof PDFJS>
export { resolvePDFJS }
export * from './types/src/pdf'
`.trimStart();

for (const filename of ["pdfjs.d.ts", "pdfjs.d.mts"]) {
Expand Down

0 comments on commit d651c33

Please sign in to comment.