DefinitelyTyped / DefinitelyTyped/DefinitelyTyped

express's @types/express-serve-static-core dependency needs to be updated

Open
#63,530 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
51.4k
Forks
30.4k
Avg merge
3d 21h
Merged PRs (30d)
108

Description

express's @types/express-serve-static-core dependency needs to be updated to perhaps "@types/express-serve-static-core": "4.17.31"

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/d37bf642ed2f3fe403e405892e2eb4240a191bb0/types/express/package.json#L4

Otherwise we get an error Request(?) "incorrectly extends interface 'ServerResponse<IncomingMessage>" because req is optional in one and required in the other.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with types/express/package.json at the linked dependency entry and compare the requested @types/express-serve-static-core version. Update the dependency as appropriate, then verify that the reported Request inheritance error is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, typescript
Domain
api
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.