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

Commit 778f8f4

Browse files
committed
types(ts): add window declaration
1 parent 490ea50 commit 778f8f4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
export default class DetailsDialogElement extends HTMLElement {
22
toggle(open: boolean): void;
33
}
4+
5+
declare global {
6+
interface Window {
7+
DetailsDialogElement: DetailsDialogElement
8+
}
9+
}

0 commit comments

Comments
 (0)