Skip to content

ReadableStreamReadResult interface is private #42970

@johnBartos

Description

@johnBartos

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

Metadata

Metadata

Assignees

Labels

Needs InvestigationThis issue needs a team member to investigate its status.RescheduledThis issue was previously scheduled to an earlier milestone

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions