diff options
author | 2025-04-15 14:15:10 +0000 | |
---|---|---|
committer | 2025-04-15 14:15:10 +0000 | |
commit | eda0fb565dfdafb24d3eba6e95358efc33ed60d5 (patch) | |
tree | dbafaa3f89aa7bc3a0355f7344412b092dcab5a9 | |
parent | a70d32a4284ef18c3f93196f44c1fcf3ff56d3d5 (diff) | |
download | astro-eda0fb565dfdafb24d3eba6e95358efc33ed60d5.tar.gz astro-eda0fb565dfdafb24d3eba6e95358efc33ed60d5.tar.zst astro-eda0fb565dfdafb24d3eba6e95358efc33ed60d5.zip |
[ci] format
-rw-r--r-- | packages/astro/src/core/session.ts | 2 |
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 |