We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84a5acc commit b3b0e2aCopy full SHA for b3b0e2a
packages/fetch-error-handler/lib/create-handler.js
@@ -12,7 +12,7 @@ const { Writable } = require('node:stream');
12
*/
13
14
/**
15
- * @typedef {object} FetchResponseBody
+ * @typedef {object} NodeFetchResponseBody
16
* @property {(stream: Writable) => void} [pipe]
17
* A function to pipe a response body stream.
18
@@ -25,7 +25,7 @@ const { Writable } = require('node:stream');
25
* The response HTTP status code.
26
* @property {string} url
27
* The URL of the response.
28
- * @property {FetchResponseBody} body
+ * @property {NodeFetchResponseBody | ReadableStream<Uint8Array> | null} body
29
* A representation of the response body.
30
31
0 commit comments