Skip to content

Commit 8c56934

Browse files
authored
Merge pull request #12 from github/types-ts-add-window-declaration
Add TS window declaration for TaskListsElement
2 parents 8dd7059 + 9f51962 commit 8c56934

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: index.d.ts

+6
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: typeof TaskListsElement
9+
}
10+
}

0 commit comments

Comments
 (0)