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

Set build target to es2020
This commit is contained in:
softsimon authored and GitHub committed 2024-04-05 16:26:38 +09:00
commit c1704758fd
2 files changed
+4 -4

No files matched your search

+3 -3
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"
]
+1 -1
View File
@@ -2,7 +2,7 @@
"extends": "./tsconfig.app.json",
"compilerOptions": {
"outDir": "./out-tsc/server",
"target": "ES2022",
"target": "ES2020",
"sourceMap": true,
"types": [
"node"