-
-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Moving types into the repo #6382
base: master
Are you sure you want to change the base?
Conversation
Updated dependencies detected. Learn more about Socket for GitHub ↗︎
|
/// <reference types="./core" /> | ||
/// <reference types="serve-static" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these lines are for old versions of TypeScript, presumably v1.x
I believe we can get rid of them, as well as the installed @types/*
dev dependencies on the next step.
"after": "0.8.2", | ||
"connect-redis": "^8.0.1", | ||
"cookie-parser": "1.4.7", | ||
"cookie-session": "2.0.0", | ||
"ejs": "^3.1.10", | ||
"eslint": "8.47.0", | ||
"eslint": "8.57.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was required to install typescript-eslint
.
But in general, I suggest upgrading to v9 (latest) in the future and migrating to flat config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have an active discussion about changing it, see expressjs/discussions#327.
Address expressjs/discussions#192 , labeled as "top priority".
express.query
— it was removed in 5.0.0-alpha.1express.query
type forexpress
v5 DefinitelyTyped/DefinitelyTyped#72159typescript-eslint
(ESLint updates and configured)