[whatwg/streams] Introduce ReadableStream<T> generics typing. (#1075)

Currently we don't have a typing that what `Promise<T>` type returns if we call `readablestream.getReader().read()`.
This makes Web IDL readability bad.
For example, 
`new QuicTransport('example.com', 10001).receiveStreams()` returns so typed `ReadableStream<ReadableStream<Uint8Array>>` but we can not represent it:
https://wicg.github.io/web-transport/#dom-datagramtransport-receivedatagrams

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1075

Received on Tuesday, 8 September 2020 04:04:25 UTC