diff options
author | 2023-03-29 21:31:00 -0700 | |
---|---|---|
committer | 2023-03-29 21:31:00 -0700 | |
commit | 12cbb28cbfc0727210e663fcc42b79cc6e4ccf98 (patch) | |
tree | a3acb938b9356d320ed14d7205f45664abdd8a23 | |
parent | 3a0894e305b47f5f172e2a8cea69439f74862938 (diff) | |
download | bun-types/readable-stream-default.tar.gz bun-types/readable-stream-default.tar.zst bun-types/readable-stream-default.zip |
Back to anytypes/readable-stream-default
-rw-r--r-- | packages/bun-types/globals.d.ts | 2 |
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>; |