Skip to content

docs: fix tty.ReadStream constructor placement #59016

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jianru-Lin
Copy link
Contributor

The new tty.ReadStream(fd[, options]) constructor documentation was incorrectly placed under the tty.WriteStream class heading.

This commit moves the documentation for the tty.ReadStream constructor to its correct location under the tty.ReadStream class heading, improving the accuracy and readability of the tty module documentation.

The `new tty.ReadStream(fd[, options])` constructor documentation was
incorrectly placed under the `tty.WriteStream` class heading.

This commit moves the documentation for the `tty.ReadStream` constructor
to its correct location under the `tty.ReadStream` class heading,
improving the accuracy and readability of the `tty` module documentation.
@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. tty Issues and PRs related to the tty subsystem. labels Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. tty Issues and PRs related to the tty subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants