Skip to content

Commit

Permalink
[reactive-element] Fix type signature in queryAssignedNodes JSDoc cod…
Browse files Browse the repository at this point in the history
…e example. (#2464)


Co-authored-by: Andrew Jakubowicz <ajakubowicz@google.com>
  • Loading branch information
AndrewJakubowicz and AndrewJakubowicz committed Jan 28, 2022
1 parent ded4a82 commit df4e1a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/mighty-birds-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@lit/reactive-element': patch
'lit': patch
---

Fix type signature in queryAssignedNodes JSDoc code example.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type TSDecoratorReturnType = void | any;
* ```ts
* class MyElement {
* @queryAssignedNodes({slot: 'list', flatten: true})
* listItems!: Array<HTMLElement>;
* listItems!: Array<Node>;
*
* render() {
* return html`
Expand Down

0 comments on commit df4e1a4

Please sign in to comment.