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

Response<T> does not support binary types #286

Open
klippx opened this issue Jan 31, 2022 · 0 comments
Open

Response<T> does not support binary types #286

klippx opened this issue Jan 31, 2022 · 0 comments

Comments

@klippx
Copy link
Collaborator

klippx commented Jan 31, 2022

In the fetch method (still not typed) the constructor of response is called with Buffer or ArrayBuffer in case the fetchResponse is binary.

This was overlooked when typing Response.

So it is not right now possible to use e.g. Response<Buffer> with the current typings.

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

No branches or pull requests

1 participant