vigil/src/app.d.ts

24 lines
438 B
TypeScript

// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
interface Locals {
results?: object[],
query?: string,
me: UserEntry | null
}
interface PageData {
site: ServerHealth | null,
me: UserEntry | null,
results?: object[],
query?: string
}
// interface PageState {}
// interface Platform {}
}
}
export {};