1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 06:38:07 +02:00

Target ES2022 when building the TypeScript definitions (issue 17932)

This should avoid the latest JS features appearing in the TypeScript definitions, and given the currently supported browsers/environments (in PDF.js) we shouldn't need to target an even older ES-version.
This commit is contained in:
Jonas Jenwald 2024-05-24 12:14:58 +02:00
parent 08bf96865d
commit 78deb798e3

View file

@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ESNext",
"target": "ES2022",
"allowJs": true,
"declaration": true,
"strict": true,