Skip to content

Commit 20ed989

Browse files
committed
fix docs
1 parent fe84100 commit 20ed989

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ Note that `decodeAsync()` acceps the same options as `decode()`.
7171

7272
### `decodeArrayStream(stream: AsyncIterable<Uint8Array | ArrayLike<number>> | ReadableStream<Uint8Array | ArrayLike<number>>, options?: DecodeAsyncOptions): AsyncIterable<unknown>`
7373

74-
It is alike to `decodeAsync()`, but only accepts an array of items as `stream`, and emits the decoded item one-by-one.
74+
It is alike to `decodeAsync()`, but only accepts an array of items as the input `stream`, and emits the decoded item one by one.
7575

7676
It throws errors when the input is not an array.
7777

7878
### `decodeStream(stream: AsyncIterable<Uint8Array | ArrayLike<number>> | ReadableStream<Uint8Array | ArrayLike<number>>, options?: DecodeAsyncOptions): AsyncIterable<unknown>`
7979

80-
It is like to `decodeAsync()` and `decodeArrayStream()`, but the input consists of independent MessagePack items.
80+
It is like to `decodeAsync()` and `decodeArrayStream()`, but the input `stream` consists of independent MessagePack items.
8181

82-
In other words, it decodes an unlimited stream and emits an item one-by-one.
82+
In other words, it decodes an unlimited stream and emits an item one by one.
8383

8484
### Extension Types
8585

0 commit comments

Comments
 (0)