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 {
|
2023-07-01 06:50:47 +02:00
|
|
|
interface PageData {
|
|
|
|
meta: {
|
|
|
|
title: string;
|
|
|
|
description?: string;
|
|
|
|
imageUrl?: string;
|
|
|
|
};
|
|
|
|
}
|
2023-01-13 23:04:59 +01:00
|
|
|
|
2023-07-01 06:50:47 +02:00
|
|
|
interface Error {
|
|
|
|
message: string;
|
|
|
|
stack?: string;
|
|
|
|
code?: string | number;
|
|
|
|
}
|
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
|
2023-05-21 18:01:08 +02:00
|
|
|
declare namespace svelteHTML {
|
2023-07-01 06:50:47 +02:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
interface HTMLAttributes<T> {
|
|
|
|
'on:copyImage'?: () => void;
|
|
|
|
'on:zoomImage'?: () => void;
|
|
|
|
}
|
2022-11-16 22:04:37 +01:00
|
|
|
}
|