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

process.stdout/.stderr/.stdin types are wrong #93

Open
nex3 opened this issue Apr 9, 2021 · 0 comments
Open

process.stdout/.stderr/.stdin types are wrong #93

nex3 opened this issue Apr 9, 2021 · 0 comments

Comments

@nex3
Copy link
Collaborator

nex3 commented Apr 9, 2021

The types for Process.stdout and Process.stderr are both listed as TTYWriteStream, and the type for Process.stdin is TTYReadStream. This isn't accurate: according to the Node docs, the only consistent guarantees are that stdout and stderr are Writeables and that stdin is a Readable. In practice, they're only TTY*Streams if a terminal is attached.

jerivas added a commit to oddbird/dart-sass that referenced this issue Mar 7, 2023
jgerigmeyer added a commit to oddbird/dart-sass that referenced this issue Apr 14, 2023
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

No branches or pull requests

1 participant