Skip to content

Commit 6b93559

Browse files
authored
Merge pull request #14 from github/use-html-element-tag-name-map
Add HTMLElementTagNameMap interface to TypeScript declaration file.
2 parents 4a420bf + 463ba51 commit 6b93559

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: index.d.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ declare global {
77
interface Window {
88
TaskListsElement: typeof TaskListsElement
99
}
10-
}
10+
interface HTMLElementTagNameMap {
11+
'task-lists': TaskListsElement
12+
}
13+
}

0 commit comments

Comments
 (0)