Skip to content

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

@nex3

Description

@nex3

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions