We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b6c336 + a03a73c commit cc4e2efCopy full SHA for cc4e2ef
1 file changed
mocks/pagination.ts
@@ -65,8 +65,8 @@ export class MockPagination extends LitElement {
65
.slice(indexOfFirstItem, indexOfLastItem)
66
.map(post => [post.id, post.title, post.body]);
67
68
- const table = this.shadowRoot?.querySelector("sgds-table") as SgdsTable;
69
- const pagination = this.shadowRoot?.querySelector("sgds-pagination") as SgdsPagination;
+ const table = this.shadowRoot?.querySelector<SgdsTable>("sgds-table");
+ const pagination = this.shadowRoot?.querySelector<SgdsPagination>("sgds-pagination");
70
71
if (table && pagination) {
72
table.rowHeader = this.rowHeader;
0 commit comments