Merge pull request #4893 from mempool/simon/build-target-es2020

Set build target to es2020
This commit is contained in:
softsimon 2024-04-05 16:26:38 +09:00 committed by GitHub
commit c1704758fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -7,15 +7,15 @@
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"module": "ES2022",
"module": "ES2020",
"moduleResolution": "node",
"importHelpers": true,
"target": "ES2022",
"target": "ES2020",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"ES2022",
"ES2020",
"dom",
"dom.iterable"
]

View File

@ -2,7 +2,7 @@
"extends": "./tsconfig.app.json",
"compilerOptions": {
"outDir": "./out-tsc/server",
"target": "ES2022",
"target": "ES2020",
"sourceMap": true,
"types": [
"node"