Skip to content

Commit

Permalink
Downgrade Node.js types
Browse files Browse the repository at this point in the history
This was causing a TypeScript error in the `@tinyhttp/res` dependency:

```
Cannot find type definition file for 'node/http.js'
```

I’m not entirely sure what’s happening here, so the quick fix is to revert this for now. I think this would also likely be resolved by updating tinyhttp to the latest version.
  • Loading branch information
tillprochaska committed Nov 1, 2024
1 parent 9de4e06 commit 9ce4eea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@testing-library/preact": "^3.2.4",
"@testing-library/user-event": "^14.5.2",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.8.6",
"@types/node": "^22.5.2",
"esbuild": "^0.24.0",
"jsdom": "^25.0.1",
"tsx": "^4.19.2",
Expand Down

0 comments on commit 9ce4eea

Please sign in to comment.