Skip to content

Commit e4aaaac

Browse files
committed
Remove dependency on @types/node
Having this dependency makes vscode autocomplete/autoimport node libraries, which is very annoying for things like `assert` where the first autocomplete is always the wrong one. We don't actually need it - TypeScript already knows the types for Node things. If you manually write out the import (for example in `cmdline.ts`) the types are still available.
1 parent 33fd8ce commit e4aaaac

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

package-lock.json

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"@types/express": "^4.17.20",
4444
"@types/jquery": "^3.5.25",
4545
"@types/morgan": "^1.9.7",
46-
"@types/node": "^20.8.10",
4746
"@types/offscreencanvas": "^2019.7.2",
4847
"@types/pngjs": "^6.0.3",
4948
"@types/serve-index": "^1.9.3",

0 commit comments

Comments
 (0)