Skip to content

Commit 43d7d11

Browse files
committed
chore: fix types
1 parent 4852cd7 commit 43d7d11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/runtime/types/session.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export interface UserSession {
1010
/**
1111
* Session ID
1212
*/
13-
id: string
13+
id?: string
1414
/**
1515
* User session data, available on client and server
1616
*/
@@ -26,6 +26,7 @@ export interface UserSession {
2626
}
2727

2828
export interface UserSessionRequired extends UserSession {
29+
id: string
2930
user: User
3031
}
3132

0 commit comments

Comments
 (0)