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

Skip to content

Commit 1ee4245

Browse files
author
Kristján Oddsson
authored
include window definition to ts definition file
1 parent 051a7f4 commit 1ee4245

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ export default class ImageCropElement extends HTMLElement {
44
}
55

66
declare global {
7+
interface Window {
8+
ImageCropElement: typeof ImageCropElement
9+
}
710
interface HTMLElementTagNameMap {
811
'image-crop': ImageCropElement
912
}

0 commit comments

Comments
 (0)