fix(web): context menu overlap + outclick types (#2506)

This commit is contained in:
Michel Heusschen 2023-05-21 18:01:08 +02:00 committed by GitHub
parent 96fb68135e
commit 85c6cf4309
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 36 additions and 52 deletions

5
web/src/app.d.ts vendored
View file

@ -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;
}
}