Skip to content

Commit

Permalink
code review feedback - long type over multi-line.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewJakubowicz committed Jan 12, 2024
1 parent 525160f commit 13d8a9b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 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 @@ -1831,7 +1831,10 @@ import {asyncAppend} from 'lit/directives/async-append.js';
<td class="wide-cell">
```ts
asyncAppend(iterable: AsyncIterable, mapper?: Function)
asyncAppend(
iterable: AsyncIterable,
mapper?: (item: Item, index?: number) => unknown
)
```
</td>
Expand Down Expand Up @@ -1924,7 +1927,10 @@ import {asyncReplace} from 'lit/directives/async-replace.js';
<td class="wide-cell">
```ts
asyncReplace(iterable: AsyncIterable, mapper?: Function)
asyncReplace(
iterable: AsyncIterable,
mapper?: (item: Item, index?: number) => unknown
)
```
</td>
Expand Down
10 changes: 8 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 @@ -1831,7 +1831,10 @@ import {asyncAppend} from 'lit/directives/async-append.js';
<td class="wide-cell">
```ts
asyncAppend(iterable: AsyncIterable, mapper?: Function)
asyncAppend(
iterable: AsyncIterable,
mapper?: (item: Item, index?: number) => unknown
)
```
</td>
Expand Down Expand Up @@ -1924,7 +1927,10 @@ import {asyncReplace} from 'lit/directives/async-replace.js';
<td class="wide-cell">
```ts
asyncReplace(iterable: AsyncIterable, mapper?: Function)
asyncReplace(
iterable: AsyncIterable,
mapper?: (item: Item, index?: number) => unknown
)
```
</td>
Expand Down

0 comments on commit 13d8a9b

Please sign in to comment.