vigil/src/app.d.ts

25 lines
438 B
TypeScript
Raw Normal View History

2025-09-12 19:20:30 +02:00
// See https://svelte.dev/docs/kit/types#app.d.ts
2025-10-21 12:07:49 +02:00
2025-09-12 19:20:30 +02:00
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
2025-10-21 12:07:49 +02:00
interface Locals {
results?: object[],
query?: string,
me: UserEntry | null
}
interface PageData {
site: ServerHealth | null,
me: UserEntry | null,
results?: object[],
query?: string
}
2025-09-12 19:20:30 +02:00
// interface PageState {}
// interface Platform {}
}
}
export {};