Skip to content

Commit

Permalink
Add missing typing for the HTML element tag <scrollable-component>
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-Marcou committed Jul 10, 2021
1 parent 0bf6108 commit de4e38a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@ export class ScrollableComponentElement extends HTMLElement {
public readonly viewport: HTMLElement;
public readonly content: HTMLElement;
}

declare global {
interface HTMLElementTagNameMap {
'scrollable-component': ScrollableComponentElement;
}
}

0 comments on commit de4e38a

Please sign in to comment.