diff --git a/packages/forms/src/utils.ts b/packages/forms/src/utils.ts index 5c48896..dbe6f53 100644 --- a/packages/forms/src/utils.ts +++ b/packages/forms/src/utils.ts @@ -6,6 +6,15 @@ export interface AstroLinkHTTP { locals: AstroGlobal['locals']; } +declare global { + export namespace App { + interface Locals { + session: { + [key: string]: any; + } + } + } +} export type ModifyDeep> = { [K in keyof A | keyof B]: // For all keys in A and B: