Skip to content

Commit 6aec7a2

Browse files
committed
types(ts): add window declaration
1 parent 8dd7059 commit 6aec7a2

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
@@ -2,3 +2,9 @@ export default class TaskListsElement extends HTMLElement {
22
disabled: boolean
33
sortable: boolean
44
}
5+
6+
declare global {
7+
interface Window {
8+
TaskListsElement: TaskListsElement
9+
}
10+
}

0 commit comments

Comments
 (0)