Skip to content

Conversation

alexgleason
Copy link

@alexgleason alexgleason commented Jan 13, 2024

Improve interoperability with tooling that wants native Fetch API Response objects, by implementing the Response interface.

In theory it's unlikely this will break runtime code. It might break types in some projects because headers is now a native Headers object. EDIT: The change to headers is a breaking change. 🤦 You can't access it with ['name'] syntax.

I also haven't tested this thoroughly. I mainly just want to push for this and prove that it's possible. It will help legacy codebases a lot.

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