Skip to content

Commit

Permalink
Merge pull request #10 from nberlette/feat-tagname-map
Browse files Browse the repository at this point in the history
feat(types): add `filter-input` to HTMLElementTagNameMap
  • Loading branch information
keithamus authored Apr 17, 2023
2 parents d4dada4 + c4a6e6c commit a2cc735
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ declare global {
interface Window {
FilterInputElement: typeof FilterInputElement
}
interface HTMLElementTagNameMap {
'filter-input': FilterInputElement
}
}

if (!window.customElements.get('filter-input')) {
Expand Down

0 comments on commit a2cc735

Please sign in to comment.