mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Try to fix TypeScript definitions for the es5-build in pdfjs-dist (issue 12872)
Given that we're already using the `external/dist/` folder for things we simply want to copy to pdfjs-dist during building, this patch *should* hopefully work since it's based on the suggestion in issue 12827. As long as this only requires a *single/small* file, to fix the TypeScript definitions in es5-builds, this solution seem acceptable as far as I'm concerned. (Although, please note that I don't know enough about TypeScript to actually test the patch.)
This commit is contained in:
parent
35845d1bbb
commit
aabf768e53
1 changed files with 1 additions and 0 deletions
1
external/dist/es5/build/pdf.d.ts
vendored
Normal file
1
external/dist/es5/build/pdf.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export * from "pdfjs-dist";
|
Loading…
Add table
Add a link
Reference in a new issue