Skip to content

Commit 3fc1199

Browse files
authored
Merge pull request #28 from github/use-html-element-tag-name-map
Add HTMLElementTagNameMap interface to TypeScript declaration file.
2 parents fac7fda + a8a481a commit 3fc1199

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
MarkdownToolbarElement: typeof MarkdownToolbarElement
88
}
9-
}
9+
interface HTMLElementTagNameMap {
10+
'markdown-toolbar': MarkdownToolbarElement
11+
}
12+
}

0 commit comments

Comments
 (0)