fix(tsconfig): 修改配置

This commit is contained in:
NICE CODE BY DEV 2024-05-31 18:09:54 +08:00
parent d0607af936
commit 5a1e41a7a3
2 changed files with 3 additions and 2 deletions

View File

@ -69,7 +69,8 @@
"prettier-plugin-packagejson": "^2.2.18", "prettier-plugin-packagejson": "^2.2.18",
"react": "^18.0.0", "react": "^18.0.0",
"react-dom": "^18.0.0", "react-dom": "^18.0.0",
"stylelint": "^14.9.1" "stylelint": "^14.9.1",
"typescript": "5"
}, },
"peerDependencies": { "peerDependencies": {
"react": ">=16.9.0", "react": ">=16.9.0",

View File

@ -21,7 +21,7 @@
"noUnusedLocals": true, "noUnusedLocals": true,
"noImplicitAny": true, "noImplicitAny": true,
"module": "esnext", "module": "esnext",
"moduleResolution": "bundler", "moduleResolution": "NodeNext",
"isolatedModules": false, "isolatedModules": false,
"target": "es6", "target": "es6",
"lib": ["dom", "es2017"], "lib": ["dom", "es2017"],