25 lines
460 B
TypeScript
25 lines
460 B
TypeScript
import { DefaultSession } from '@auth/sveltekit';
|
|
|
|
// See https://svelte.dev/docs/kit/types#app.d.ts
|
|
// for information about these interfaces
|
|
declare global {
|
|
namespace App {
|
|
// interface Error {}
|
|
// interface Locals {}
|
|
// interface PageData {}
|
|
// interface PageState {}
|
|
// interface Platform {}
|
|
}
|
|
}
|
|
|
|
declare module '@auth/sveltekit' {
|
|
interface Session {
|
|
user: {
|
|
id: string;
|
|
email: string;
|
|
} & DefaultSession['user'];
|
|
}
|
|
}
|
|
|
|
export {};
|