added user to locals

This commit is contained in:
Patrick 2025-10-02 11:43:35 +02:00
parent 9c3f103758
commit 976cd3edb9
1 changed files with 3 additions and 1 deletions

4
src/app.d.ts vendored
View File

@ -6,7 +6,9 @@ declare global {
message: string
cause?: number,
}
// interface Locals {}
interface Locals {
user?: User
}
// interface PageData {}
// interface PageState {}
// interface Platform {}