Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 31d9935

Browse files
authored
Merge pull request #22 from github/use-html-element-tag-name-map
Add HTMLElementTagNameMap interface to TypeScript declaration file.
2 parents dc984db + 5179380 commit 31d9935

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
@@ -4,4 +4,7 @@ declare global {
44
interface Window {
55
TabContainerElement: typeof TabContainerElement
66
}
7-
}
7+
interface HTMLElementTagNameMap {
8+
'tab-container': TabContainerElement
9+
}
10+
}

0 commit comments

Comments
 (0)