2022-05-21 09:23:55 +02:00
|
|
|
/// <reference types="@sveltejs/kit" />
|
|
|
|
|
|
|
|
// See https://kit.svelte.dev/docs/types#app
|
|
|
|
// for information about these interfaces
|
|
|
|
declare namespace App {
|
2022-07-26 19:28:07 +02:00
|
|
|
interface Locals {
|
|
|
|
user?: import('@api').UserResponseDto;
|
|
|
|
}
|
2022-05-21 09:23:55 +02:00
|
|
|
|
2022-07-26 19:28:07 +02:00
|
|
|
// interface Platform {}
|
2022-05-21 09:23:55 +02:00
|
|
|
}
|
2022-11-16 22:04:37 +01:00
|
|
|
|
|
|
|
// 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 {
|
2022-11-19 06:12:54 +01:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
2022-11-16 22:04:37 +01:00
|
|
|
interface HTMLAttributes<T> {
|
|
|
|
oncopyImage?: () => void;
|
|
|
|
}
|
|
|
|
}
|