We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78dc9da commit c84987eCopy full SHA for c84987e
1 file changed
src/image.ts
@@ -138,7 +138,7 @@ function removePreviewPanel(animated = true) {
138
}
139
140
states.focusedElement = undefined;
141
- document.querySelectorAll(`.${previewClass}`).forEach((element: HTMLElement) => {
+ document.querySelectorAll<HTMLElement>(`.${previewClass}`).forEach((element: HTMLElement) => {
142
if (animated) {
143
element.style.opacity = '0';
144
element.addEventListener(
0 commit comments