Skip to content

Commit 8beabb6

Browse files
committed
🐛 add @types/node so typecheck finds node type defs
tsconfig sets "types": ["node"], but @types/node was only present transitively as an optional peer dep of np's inquirer. Upgrading np@7→np@11 changed the tree so a fresh install no longer hoisted it, breaking tsc in CI with TS2688.
1 parent 0a4e65f commit 8beabb6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"devDependencies": {
5757
"@size-limit/preset-small-lib": "^11.1.1",
5858
"@testing-library/react": "^14.0.0",
59+
"@types/node": "^24",
5960
"@types/react": "^18.2.67",
6061
"@types/react-dom": "^18.2.22",
6162
"@typescript-eslint/eslint-plugin": "^7.2.0",

0 commit comments

Comments
 (0)