Visitenbuch/src/app.d.ts

28 lines
630 B
TypeScript

import type { Session } from "@auth/core/types";
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
interface Locals {
session: Session | null;
}
interface PageData {
session: Session | null;
}
// interface Platform {}
}
declare namespace svelteHTML {
// Custom events (https://stackoverflow.com/a/75279911)
interface HTMLAttributes<T> {
"on:outclick"?: CompositionEventHandler<T>;
}
}
declare const __VERSION__: string;
declare const __LASTMOD__: string;
}
export {};