Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 BUG: wrangler types --x-include-runtime generates wrong types for RedableStream #8062

Open
alexanderniebuhr opened this issue Feb 8, 2025 · 0 comments
Labels
bug Something that isn't working

Comments

@alexanderniebuhr
Copy link
Contributor

alexanderniebuhr commented Feb 8, 2025

Which Cloudflare product(s) does this pertain to?

Wrangler

What versions are you using?

3.107.3 [Wrangler]

What operating system and version are you using?

macOS Sequoai 15.3

Please provide a link to a minimal reproduction

No response

Describe the Bug

Workers - 2024-04-04 introduced RedableSteram.from(), however the type is not generated correctly and doesn't include this.

Please provide any relevant error logs

Property 'from' does not exist on type '{ new (underlyingSource: UnderlyingByteSource, strategy?: QueuingStrategy<Uint8Array<ArrayBufferLike>> | undefined): ReadableStream<...>; new <R = any>(underlyingSource?: UnderlyingSource<...> | undefined, strategy?: QueuingStrategy<...> | undefined): ReadableStream<...>; prototype: ReadableStream<...>; }'
@alexanderniebuhr alexanderniebuhr added the bug Something that isn't working label Feb 8, 2025
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working
Projects
Status: Untriaged
Development

No branches or pull requests

1 participant