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

Skip to content

Commit 630db84

Browse files
committed
Add back HTMLElementTagNameMap
1 parent 75c5e98 commit 630db84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,9 @@ declare global {
247247
interface Window {
248248
AutoCheckElement: typeof AutoCheckElement
249249
}
250+
interface HTMLElementTagNameMap {
251+
'auto-check': AutoCheckElement
252+
}
250253
}
251254

252255
if (!window.customElements.get('auto-check')) {

0 commit comments

Comments
 (0)