Skip to content

Commit

Permalink
Upgrade build target to ES2016
Browse files Browse the repository at this point in the history
  • Loading branch information
diskdance committed Jan 14, 2024
1 parent 81daa9c commit 0cfc542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES5", // TODO: Move to modern ES versions once MediaWiki fully supports them in default gadgets
"target": "ES2016", // MediaWiki >= 1.42.0-wmf.13 supports up to ES2016
"module": "ESNext",
"lib": [
"ESNext",
Expand All @@ -18,4 +18,4 @@
"lib/**/*.ts"
],
"exclude": []
}
}

0 comments on commit 0cfc542

Please sign in to comment.