Skip to content
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

fix(ext/response): make error, json, redirect enumerable #16497

Merged
merged 2 commits into from
Nov 9, 2022

Conversation

marcosc90
Copy link
Contributor

No description provided.

@@ -287,7 +288,7 @@
* @param {ResponseInit} init
* @returns {Response}
*/
static json(data, init = {}) {
static json(data = undefined, init = {}) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes: Response interface: operation json(any, optional ResponseInit)

@bartlomieju bartlomieju merged commit 7bd2c60 into denoland:main Nov 9, 2022
@marcosc90 marcosc90 deleted the fix-response-json branch November 11, 2022 22:11
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.

None yet

3 participants