Bug Report
🔎 Search Terms
ReadableStream, ReadableStreamReadResult
🕗 Version & Regression Information
- This changed between versions <= 4.1.5 and 4.2.x
⏯ Playground Link
Playground link with the bug (4.2.x)
Playground link without the bug (4.1.5)
💻 Code
const handleChunk = ({ done, value }: ReadableStreamReadResult<Uint8Array>) => {
console.log(done, value);
}
🙁 Actual behavior
- Cannot find name 'ReadableStreamReadResult'.
- Return type of public method from exported class has or is using private name 'ReadableStreamReadResult'.
🙂 Expected behavior
No type error
Bug Report
🔎 Search Terms
ReadableStream, ReadableStreamReadResult
🕗 Version & Regression Information
⏯ Playground Link
Playground link with the bug (4.2.x)
Playground link without the bug (4.1.5)
💻 Code
🙁 Actual behavior
🙂 Expected behavior
No type error