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(node/fs): enable type narrowing with instanceof for ReadStream and WriteStream #2915

Merged
merged 2 commits into from
Nov 21, 2022

Conversation

@PolarETech PolarETech requested a review from kt3k as a code owner November 20, 2022 05:51
Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks better aligned to what node.js does. Thanks for the PR @PolarETech

LGTM

@cjihrig cjihrig merged commit 9e60113 into denoland:main Nov 21, 2022
@PolarETech PolarETech deleted the issue-2891 branch November 25, 2022 19:17
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.

TypeScript error with WriteStream
3 participants