Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
codershiba committed May 4, 2024
1 parent d2c5755 commit c3e7c4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions types/node/stream.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ declare module "stream" {
*
* The optional `size` argument specifies a specific number of bytes to read. If
* `size` bytes are not available to be read, `null` will be returned _unless_ the
* stream has ended, in which case all of the data remaining in the internal buffer
* stream has ended, in which case all of the data remaining in the internal buffer
* will be returned.
*
* If the `size` argument is not specified, all of the data contained in the
Expand Down Expand Up @@ -1300,7 +1300,7 @@ declare module "stream" {
* Attaches an AbortSignal to a readable or writeable stream. This lets code
* control stream destruction using an `AbortController`.
*
* Calling `abort` on the `AbortController` corresponding to the passed `AbortSignal` will behave the same way as
* Calling `abort` on the `AbortController` corresponding to the passed `AbortSignal` will behave the same way as
* calling `.destroy(new AbortError())` on the stream, and `controller.error(new AbortError())` for webstreams.
*
* ```js
Expand Down
2 changes: 1 addition & 1 deletion types/node/test/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function streamPipelineAsyncTransform() {

// Accepts buffer as source
pipeline(
Buffer.from("test"),
Buffer.from("test"),
stdout,
err => console.error(err),
);
Expand Down

0 comments on commit c3e7c4b

Please sign in to comment.