Skip to content

Commit

Permalink
🔧(frontend) upgrade typescript target to es2018
Browse files Browse the repository at this point in the history
With the latest upgrade of typescript, a type error is raised about the use of
regex with capturing group. Indeed, this feature is available with es2018, and
we are currently using es6 as typescript target. But currently our browser
support list allow us to upgrade the typescript target from es6 to es2018.

https://caniuse.com/?search=es2018
  • Loading branch information
jbpenrath committed Jul 1, 2024
1 parent 6eb6754 commit 7a0bf9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"skipLibCheck": true,
"strict": true,
"sourceMap": true,
"target": "es6"
"target": "es2018"
},
"include": ["./**/*"]
}

0 comments on commit 7a0bf9f

Please sign in to comment.