mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Update TypeScript to version 4.6.2
and work-around stricter type checks
I'm guessing that we're now running into the class-related improvements mentioned in https://devblogs.microsoft.com/typescript/announcing-typescript-4-6/#target-es2022 To unblock this update, and any future ones, this patch simply tweaks the JSDocs to get `gulp typestest` to run without errors.
This commit is contained in:
parent
3e593cfc1d
commit
6f600befdd
5 changed files with 33 additions and 12 deletions
|
@ -53,7 +53,7 @@
|
|||
"terser": "^5.12.0",
|
||||
"through2": "^4.0.2",
|
||||
"ttest": "^3.0.0",
|
||||
"typescript": "^4.5.5",
|
||||
"typescript": "^4.6.2",
|
||||
"typogr": "^0.6.8",
|
||||
"vinyl": "^2.2.1",
|
||||
"vinyl-fs": "^3.0.3",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue