Unverified 提交 669ac72f authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Add @types/node-fetch dependency (#2437)

## Summary - Adds `@types/node-fetch` as a dev dependency for improved TypeScript type support ## Test plan - All existing tests pass - TypeScript compilation succeeds #skip-bugbot 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2437"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end --> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Add @types/node-fetch (^2.6.13) as a dev dependency to provide TypeScript types for node-fetch. Improves type safety and editor autocomplete for code using fetch in Node. <sup>Written for commit 43975a34f2a5b5675c47917721cf9eb8705ef80a. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> Co-authored-by: 's avatarClaude Opus 4.5 <noreply@anthropic.com>
上级 51c810ec
...@@ -120,6 +120,7 @@ ...@@ -120,6 +120,7 @@
"@types/glob": "^8.1.0", "@types/glob": "^8.1.0",
"@types/kill-port": "^2.0.3", "@types/kill-port": "^2.0.3",
"@types/node": "^22.14.0", "@types/node": "^22.14.0",
"@types/node-fetch": "^2.6.13",
"@types/react": "^19.0.10", "@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4", "@types/react-dom": "^19.0.4",
"@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/eslint-plugin": "^5.62.0",
...@@ -7548,6 +7549,17 @@ ...@@ -7548,6 +7549,17 @@
"undici-types": "~6.21.0" "undici-types": "~6.21.0"
} }
}, },
"node_modules/@types/node-fetch": {
"version": "2.6.13",
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.13.tgz",
"integrity": "sha512-QGpRVpzSaUs30JBSGPjOg4Uveu384erbHBoT1zeONvyCfwQxIkUshLAOqN/k9EjGviPRmWTTe6aH2qySWKTVSw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/node": "*",
"form-data": "^4.0.4"
}
},
"node_modules/@types/pg": { "node_modules/@types/pg": {
"version": "8.15.5", "version": "8.15.5",
"resolved": "https://registry.npmjs.org/@types/pg/-/pg-8.15.5.tgz", "resolved": "https://registry.npmjs.org/@types/pg/-/pg-8.15.5.tgz",
......
...@@ -155,6 +155,7 @@ ...@@ -155,6 +155,7 @@
"@types/glob": "^8.1.0", "@types/glob": "^8.1.0",
"@types/kill-port": "^2.0.3", "@types/kill-port": "^2.0.3",
"@types/node": "^22.14.0", "@types/node": "^22.14.0",
"@types/node-fetch": "^2.6.13",
"@types/react": "^19.0.10", "@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4", "@types/react-dom": "^19.0.4",
"@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/eslint-plugin": "^5.62.0",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论