fix: 锁定@types/node版本为20.x以兼容TypeScript 4.x,避免cnpm安装不兼容的v26版本导致TS1139编译错误
Showing
| ... | ... | @@ -11,6 +11,7 @@ |
| "@testing-library/jest-dom": "^4.2.4", | ||
| "@testing-library/react": "^9.3.2", | ||
| "@testing-library/user-event": "^7.1.2", | ||
| "@types/node": "^20.0.0", | ||
| "@types/react": "^16.9.46", | ||
| "@types/react-dom": "^16.9.8", | ||
| "@types/react-router-dom": "^5.1.5", | ||
| ... | ... |
Please
register
or
sign in
to comment