We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc6c55 commit 2405664Copy full SHA for 2405664
src/internal/parse.ts
@@ -28,10 +28,10 @@ export async function defaultParseResponse<T>(
28
// that if you set `stream: true` the response type must also be `Stream<T>`
29
30
if (props.options.__streamClass) {
31
- return props.options.__streamClass.fromSSEResponse(response, props.controller, client) as any;
+ return props.options.__streamClass.fromSSEResponse(response, props.controller) as any;
32
}
33
34
- return Stream.fromSSEResponse(response, props.controller, client) as any;
+ return Stream.fromSSEResponse(response, props.controller) as any;
35
36
37
// fetch refuses to read the body when the status code is 204.
0 commit comments