Skip to content

feat(types): Add QUERY to RequestMethod union#335

Open
RobinTail wants to merge 2 commits into
eugef:masterfrom
RobinTail:feat-query-method
Open

feat(types): Add QUERY to RequestMethod union#335
RobinTail wants to merge 2 commits into
eugef:masterfrom
RobinTail:feat-query-method

Conversation

@RobinTail

@RobinTail RobinTail commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

QUERY method is available in Node.js ^20.19.3 and >=22.2.0 (also in ^21.7.2 but does not work properly).

This PR adds this method to the RequestMethod union of literals.

The QUERY method was already added to Express documentation: expressjs/expressjs.com#2414
And I'm also adding it to the Express types: DefinitelyTyped/DefinitelyTyped#75187

@RobinTail RobinTail changed the title feat(types): Add QUERY to RequestMethod union. feat(types): Add QUERY to RequestMethod union Jul 3, 2026
@RobinTail RobinTail marked this pull request as ready for review July 3, 2026 06:53
@RobinTail

Copy link
Copy Markdown
Contributor Author

@eugef , please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant