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 952f654 commit 8c4ac9aCopy full SHA for 8c4ac9a
src/types/response.ts
@@ -7,6 +7,8 @@
7
* file that was distributed with this source code.
8
*/
9
10
+import { Readable } from 'node:stream'
11
+
12
/**
13
* Cookie options can that can be set on the response
14
@@ -54,4 +56,4 @@ export type ResponseConfig = {
54
56
55
57
* Stream that can be piped to the "response.stream" method
58
-export type ResponseStream = NodeJS.ReadStream | NodeJS.ReadWriteStream | NodeJS.ReadableStream
59
+export type ResponseStream = Readable
0 commit comments