Skip to content

High performance self-hosted photo and video management solution.

chore(web): remove unused event type definitions (#11600)

Michel Heusschenbb3d9b6306c5
diff --git a/web/src/app.d.ts b/web/src/app.d.ts
index ae6c5b559b..d041386df2 100644
--- a/web/src/app.d.ts
+++ b/web/src/app.d.ts
@@ -18,16 +18,6 @@ declare namespace App {
}
}
-// Source: https://stackoverflow.com/questions/63814432/typescript-typing-of-non-standard-window-event-in-svelte
-// To fix the <svelte:window... in components/asset-viewer/photo-viewer.svelte
-declare namespace svelteHTML {
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
- interface HTMLAttributes<T> {
- 'on:copyImage'?: () => void;
- 'on:zoomImage'?: () => void;
- }
-}
-
declare module '$env/static/public' {
export const PUBLIC_IMMICH_PAY_HOST: string;
export const PUBLIC_IMMICH_BUY_HOST: string;