From 43d7d1135537aa8c2d9148e907a3bfbc54fdaa88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Wed, 5 Feb 2025 12:27:59 +0100 Subject: [PATCH] chore: fix types --- src/runtime/types/session.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime/types/session.ts b/src/runtime/types/session.ts index 18940cf..698d7d0 100644 --- a/src/runtime/types/session.ts +++ b/src/runtime/types/session.ts @@ -10,7 +10,7 @@ export interface UserSession { /** * Session ID */ - id: string + id?: string /** * User session data, available on client and server */ @@ -26,6 +26,7 @@ export interface UserSession { } export interface UserSessionRequired extends UserSession { + id: string user: User }