chore: 调整 typescript 版本

This commit is contained in:
SvenFE
2025-08-22 20:28:09 +08:00
parent 3a0eca7772
commit e166cfcab2
2 changed files with 4 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
{
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"target": "ES2020",
"target": "ES2024",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"lib": ["ES2024", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,

View File

@@ -1,8 +1,8 @@
{
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"target": "ES2022",
"lib": ["ES2023"],
"target": "ES2024",
"lib": ["ES2024"],
"module": "ESNext",
"skipLibCheck": true,