Skip to content

Commit 59369c8

Browse files
fix sveltekit docs
1 parent fa21ce7 commit 59369c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/pages/guides/validate-session-cookies/sveltekit.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ Make sure to type `App.Locals` as well.
4848
declare global {
4949
namespace App {
5050
interface Locals {
51-
user: import("lucia").User;
52-
session: import("lucia").Session;
51+
user: import("lucia").User | null;
52+
session: import("lucia").Session | null;
5353
}
5454
}
5555
}

0 commit comments

Comments
 (0)