-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Legacy: Type declarations are broken in 4.0 #17241
Labels
Comments
The file name should be See https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md
|
tamuratak
added a commit
to tamuratak/pdf.js
that referenced
this issue
Nov 10, 2023
tamuratak
added a commit
to tamuratak/pdf.js
that referenced
this issue
Nov 11, 2023
fityannugroho
added a commit
to fityannugroho/idn-area-extractor
that referenced
this issue
Nov 13, 2023
Known issue: broken TS definition (see mozilla/pdf.js#17241)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ive tested 4.0.189 from NPM and noticed that the type declaration file is broken for legacy with this version.
The fix is simple.
pdfjs-dist/legacy/build/pdf.d.ts
should be renamed topdfjs-dist/legacy/build/pdf.mjs.d.ts
.The text was updated successfully, but these errors were encountered: