Re: [whatwg/streams] ReadableStream should be an async iterable (#778)

@himself65 Your question is about the TypeScript type definitions, so you should look at https://github.com/microsoft/TypeScript/ and/or https://github.com/microsoft/TypeScript-DOM-lib-generator/.

That said, it's already been fixed in https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1701, so in a future version of TypeScript your code snippet should get proper type checking. (I don't know if this will already be available in version 5.5, I'm not with the TypeScript team.)

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

Message ID: <whatwg/streams/issues/778/2069409673@github.com>

Received on Monday, 22 April 2024 13:22:29 UTC