aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-03-29 21:31:00 -0700
committerGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-03-29 21:31:00 -0700
commit12cbb28cbfc0727210e663fcc42b79cc6e4ccf98 (patch)
treea3acb938b9356d320ed14d7205f45664abdd8a23
parent3a0894e305b47f5f172e2a8cea69439f74862938 (diff)
downloadbun-types/readable-stream-default.tar.gz
bun-types/readable-stream-default.tar.zst
bun-types/readable-stream-default.zip
-rw-r--r--packages/bun-types/globals.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/bun-types/globals.d.ts b/packages/bun-types/globals.d.ts
index a923a2fb2..6ff2e9970 100644
--- a/packages/bun-types/globals.d.ts
+++ b/packages/bun-types/globals.d.ts
@@ -2145,7 +2145,7 @@ declare var Loader: {
};
/** This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object. */
-interface ReadableStream<R extends Uint8Array | string = Uint8Array | string> {
+interface ReadableStream<R = any> {
readonly locked: boolean;
cancel(reason?: any): Promise<void>;
getReader(): ReadableStreamDefaultReader<R>;