/// // See https://kit.svelte.dev/docs/types#app // for information about these interfaces declare namespace App { interface Locals { user?: import('@api').UserResponseDto; } // interface Platform {} interface Error { message: string; stack?: string; code?: string; } } // Source: https://stackoverflow.com/questions/63814432/typescript-typing-of-non-standard-window-event-in-svelte // To fix the { oncopyImage?: () => void; onoutclick?: () => void; } }