🔎 Search Terms
ReadableStreamGenericReader, Readable.fromWeb
🕗 Version & Regression Information
⏯ Playground Link
No response
💻 Code
import { Readable } from 'node:stream'
Readable.fromWeb(new Response().body!)
🙁 Actual behavior
Argument of type 'ReadableStream<Uint8Array<ArrayBufferLike>>' is not assignable to parameter of type 'ReadableStream<any>'.
The types of 'getReader(...).closed' are incompatible between these types.
Type 'Promise<void>' is not assignable to type 'Promise<undefined>'.
Type 'void' is not assignable to type 'undefined'.
🙂 Expected behavior
No type error.
Additional information about the issue
No response
🔎 Search Terms
ReadableStreamGenericReader, Readable.fromWeb
🕗 Version & Regression Information
⏯ Playground Link
No response
💻 Code
🙁 Actual behavior
🙂 Expected behavior
No type error.
Additional information about the issue
No response