Files
voyage/frontend/src/app.d.ts
2024-07-08 11:44:39 -04:00

25 lines
505 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;
} | null;
}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}
export {};