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:
Jonas Jenwald 2021-01-08 09:15:34 +01:00
parent 35845d1bbb
commit aabf768e53

1
external/dist/es5/build/pdf.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export * from "pdfjs-dist";