Closed as not planned
Description
π Search Terms
ReadableStreamGenericReader, Readable.fromWeb
π Version & Regression Information
- This changed between versions 5.7.3 and 5.8.2
- This changed in PR DOM update 2025/01/29Β #61073
β― 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
Metadata
Metadata
Assignees
Labels
No labels