-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
[express-serve-static-core] missiong type of router.stack: Layer[] (#63290) #63329
Conversation
@DerHerrGammler Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through. This is a live comment which I will keep updated. 1 package in this PRCode ReviewsBecause this is a widely-used package, a DT maintainer will need to review it before it can be merged. You can test the changes of this PR in the Playground. Status
Once every item on this list is checked, I'll ask you for permission to merge and publish the changes. InactiveThis PR has been inactive for 64 days — it is considered abandoned, and therefore closed! Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 63329,
"author": "DerHerrGammler",
"headCommitOid": "146a527e1fc477821f3844493e459fb8434fd4c1",
"mergeBaseOid": "30d9a69b09462171fc5bc63b3f20a2e0e40e28af",
"lastPushDate": "2022-11-20T01:20:00.000Z",
"lastActivityDate": "2022-12-11T22:13:31.000Z",
"hasMergeConflict": true,
"isFirstContribution": true,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Critical",
"pkgInfo": [
{
"name": "express-serve-static-core",
"kind": "edit",
"files": [
{
"path": "types/express-serve-static-core/express-serve-static-core-tests.ts",
"kind": "test"
},
{
"path": "types/express-serve-static-core/index.d.ts",
"kind": "definition"
}
],
"owners": [
"borisyankov",
"micksatana",
"samijaber",
"JoseLion",
"dwrss",
"andoshin11"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
}
],
"reviews": [
{
"type": "changereq",
"reviewer": "navya9singh",
"date": "2022-12-09T23:27:45.000Z"
}
],
"mainBotCommentID": 1321007986,
"ciResult": "pass"
} |
🔔 @borisyankov @micksatana @samijaber @JoseLion @dwrss @andoshin11 — please review this PR in the next few days. Be sure to explicitly select |
Re-ping @borisyankov, @micksatana, @samijaber, @JoseLion, @dwrss, @andoshin11: This PR has been out for over a week, yet I haven't seen any reviews. Could someone please give it some attention? Thanks! |
It has been more than two weeks and this PR still has no reviews. I'll bump it to the DT maintainer queue. Thank you for your patience, @DerHerrGammler. (Ping @borisyankov, @micksatana, @samijaber, @JoseLion, @dwrss, @andoshin11.) |
route?: Route; | ||
} | ||
|
||
export interface Route { |
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.
How is Route different from IRoute?
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.
In IRoute it semes that there always exists the definitions of the funtion but in the Route interface are no definitions of any methodes. And instead there is a methods object that defines with http methodes for this route are defined.
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.
If its better for you that the methodes object is in the IRoute interface i could propably change that but i dont think that this is accurat to the structure of the Layers in the Stack
@DerHerrGammler One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits. Thank you! |
@DerHerrGammler Unfortunately, this pull request currently has a merge conflict 😥. Please update your PR branch to be up-to-date with respect to master. Have a nice day! |
@DerHerrGammler To keep things tidy, we have to close PRs that aren't mergeable and don't have activity in the last month. No worries, though — please open a new PR if you'd like to continue with this change. Thank you! |
Please fill in this template.
npm test <package to test>
.Select one of these and delete the others:
If changing an existing definition:
Layer
core code: https://github.com/expressjs/express/blob/master/lib/router/layer.jsRoute
core code: https://github.com/expressjs/express/blob/master/lib/router/route.jsa additional manipulation of those tyoes happens in other files