Files
voyage/frontend/src/app.d.ts
2024-10-26 23:03:35 -04:00

28 lines
571 B
TypeScript

// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
interface Locals {
user: {
pk: number;
username: string;
first_name: string | null;
last_name: string | null;
email: string | null;
date_joined: string | null;
is_staff: boolean;
profile_pic: string | null;
uuid: string;
public_profile: boolean;
} | null;
locale: string;
}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}
export {};