mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web): context menu overlap + outclick types (#2506)
This commit is contained in:
parent
96fb68135e
commit
85c6cf4309
7 changed files with 36 additions and 52 deletions
5
web/src/app.d.ts
vendored
5
web/src/app.d.ts
vendored
|
|
@ -25,10 +25,9 @@ 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 svelte.JSX {
|
||||
declare namespace svelteHTML {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
interface HTMLAttributes<T> {
|
||||
oncopyImage?: () => void;
|
||||
onoutclick?: () => void;
|
||||
'on:copyImage'?: () => void;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue