Skip to content

Commit

Permalink
chore: fix typo on return type (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Jun 1, 2023
1 parent 379f53d commit d9bd95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -83,7 +83,7 @@ Meros offers two flavours, both for the browser and for node; but their api's ar
### `meros(response: Response, options?: Options)`

Returns: `Promise<Response | AsyncGenerator<Part | Part[]>`
Returns: `Promise<Response | AsyncGenerator<Part | Part[]>>`

Meros returns a promise that will resolve to an `AsyncGenerator` if the response is of `multipart/mixed` mime, or simply
returns the `Response` if something else; helpful for middlewares. The idea here being that you run meros as a chain off
Expand Down

0 comments on commit d9bd95b

Please sign in to comment.