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

fix(util-stream): avoid compilation of type parameter in global ReadableStream #1343

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Jul 17, 2024

#1341

If we export an interface involving a reference to the global ReadableStream, when compiled with the DOM lib present this becomes ReadableStream<any>.

This is not compatible with @types/node, which declares a generic ReadableStream only in the stream/web module, and for some reason a different one globally.

@kuhe kuhe requested review from a team as code owners July 17, 2024 20:28
@kuhe kuhe requested a review from haydenbaker July 17, 2024 20:28
@kuhe kuhe merged commit 1cfe243 into smithy-lang:main Jul 17, 2024
9 of 10 checks passed
@kuhe kuhe deleted the fix/types branch July 17, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants