Skip to content

Commit 3335b39

Browse files
committed
Fix for readme.md
1 parent da499da commit 3335b39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ pnpm add form-data-encoder
9898

9999
Creates a multipart/form-data encoder.
100100

101-
#### `encode() -> {AsyncGenerator<Buffer, void, undefined>}`
101+
#### `encode() -> {AsyncGenerator<Uint8Array, void, undefined>}`
102102

103103
Creates an async iterator allowing to perform the encoding by portions.
104104

105-
#### `[Symbol.asyncIterator]() -> {AsyncGenerator<Buffer, void, undefined>}`
105+
#### `[Symbol.asyncIterator]() -> {AsyncGenerator<Uint8Array, void, undefined>}`
106106

107107
An alias for `Encoder#encode()` method.

0 commit comments

Comments
 (0)