Skip to content

Commit a89754c

Browse files
committed
types(ts): add window declaration
1 parent 6695790 commit a89754c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.d.ts

+6
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@ export default class RemoteInputElement extends HTMLElement {
22
readonly input: HTMLInputElement | HTMLTextAreaElement | undefined;
33
src: string;
44
}
5+
6+
declare global {
7+
interface Window {
8+
RemoteInputElement: RemoteInputElement
9+
}
10+
}

0 commit comments

Comments
 (0)