Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

Commit 9721596

Browse files
authored
Merge pull request #50 from github/use-html-element-tag-name-map
Add HTMLElementTagNameMap interface to TypeScript declaration file.
2 parents 4c7c4f2 + 8f26c79 commit 9721596

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ declare global {
66
interface Window {
77
DetailsDialogElement: typeof DetailsDialogElement
88
}
9-
}
9+
interface HTMLElementTagNameMap {
10+
'details-dialog': DetailsDialogElement
11+
}
12+
}

0 commit comments

Comments
 (0)