Skip to content

Commit

Permalink
Verbiage
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed May 24, 2024
1 parent 9a3a2cc commit c7a57bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Generator has more functionalities than iterator and array. It is not recommende

### When should I use `Iterable`, `IterableIterator` and `Iterator`?

For best compatibility, you should generally follow this API signature: use `Iterable` for inputs, and use `IterableIterator` for outputs. You should rarely use pure `Iterator`.
For best compatibility, you should generally follow this API signature: use `Iterable` for inputs, and use `IterableIterator` for outputs. You should avoid exporting pure `Iterator`.

```ts
function transform<T>(iterable: Iterable<T>): IterableIterator<T>;
Expand Down

0 comments on commit c7a57bb

Please sign in to comment.