summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/core/session.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/core/session.ts b/packages/astro/src/core/session.ts
index e9d21c6ce..e4d4b40ec 100644
--- a/packages/astro/src/core/session.ts
+++ b/packages/astro/src/core/session.ts
@@ -102,7 +102,7 @@ export class AstroSession<TDriver extends SessionDriverName = any> {
/**
* Gets a session value. Returns `undefined` if the session or value does not exist.
*/
- async get<T = void, K extends string = keyof App.SessionData | (string & {}) >(
+ async get<T = void, K extends string = keyof App.SessionData | (string & {})>(
key: K,
): Promise<
(T extends void ? (K extends keyof App.SessionData ? App.SessionData[K] : any) : T) | undefined