18 lines
316 B
TypeScript
18 lines
316 B
TypeScript
import type { DefaultSession } from '@auth/sveltekit';
|
|
|
|
declare global {
|
|
namespace App {
|
|
// interface Error {}
|
|
interface Locals {
|
|
auth(): Promise<DefaultSession | null>;
|
|
}
|
|
interface PageData {
|
|
session: DefaultSession | null;
|
|
}
|
|
// interface PageState {}
|
|
// interface Platform {}
|
|
}
|
|
}
|
|
|
|
export {};
|