Skip to content

Commit

Permalink
Target ES2022 when building the TypeScript definitions (issue 17932)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Snuffleupagus committed May 24, 2024
1 parent 08bf968 commit 78deb79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ESNext",
"target": "ES2022",
"allowJs": true,
"declaration": true,
"strict": true,
Expand Down

0 comments on commit 78deb79

Please sign in to comment.