mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Fix broken/missing JSDocs and typedef
s, to allow updating TypeScript to the latest version (issue 14342)
This patch circumvents the issues seen when trying to update TypeScript to version `4.5`, by "simply" fixing the broken/missing JSDocs and `typedef`s such that `gulp typestest` now passes. As always, given that I don't really know anything about TypeScript, I cannot tell if this is a "correct" and/or proper way of doing things; we'll need TypeScript users to help out with testing! *Please note:* I'm sorry about the size of this patch, but given how intertwined all of this unfortunately is it just didn't seem easy to split this into smaller parts. However, one good thing about this TypeScript update is that it helped uncover a number of pre-existing bugs in our JSDocs comments.
This commit is contained in:
parent
d3e1d7090a
commit
e0dba504d2
23 changed files with 232 additions and 74 deletions
|
@ -52,7 +52,7 @@
|
|||
"terser": "^5.10.0",
|
||||
"through2": "^4.0.2",
|
||||
"ttest": "^3.0.0",
|
||||
"typescript": "~4.4.4",
|
||||
"typescript": "^4.5.4",
|
||||
"typogr": "^0.6.8",
|
||||
"vinyl": "^2.2.1",
|
||||
"vinyl-fs": "^3.0.3",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue