Skip to content

Commit

Permalink
add generic type to async iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewJakubowicz committed Jan 12, 2024
1 parent fcec7fa commit 1362dbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/lit-dev-content/site/docs/v2/templates/directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,7 @@ import {asyncAppend} from 'lit/directives/async-append.js';
```ts
asyncAppend(
iterable: AsyncIterable,
iterable: AsyncIterable<Item>,
mapper?: (item: Item, index?: number) => unknown
)
```
Expand Down Expand Up @@ -1928,7 +1928,7 @@ import {asyncReplace} from 'lit/directives/async-replace.js';
```ts
asyncReplace(
iterable: AsyncIterable,
iterable: AsyncIterable<Item>,
mapper?: (item: Item, index?: number) => unknown
)
```
Expand Down
4 changes: 2 additions & 2 deletions packages/lit-dev-content/site/docs/v3/templates/directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,7 @@ import {asyncAppend} from 'lit/directives/async-append.js';
```ts
asyncAppend(
iterable: AsyncIterable,
iterable: AsyncIterable<Item>,
mapper?: (item: Item, index?: number) => unknown
)
```
Expand Down Expand Up @@ -1928,7 +1928,7 @@ import {asyncReplace} from 'lit/directives/async-replace.js';
```ts
asyncReplace(
iterable: AsyncIterable,
iterable: AsyncIterable<Item>,
mapper?: (item: Item, index?: number) => unknown
)
```
Expand Down

0 comments on commit 1362dbf

Please sign in to comment.