diff options
-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>; |