From bac3ecd072f192ba7ccfbca17a43a0ca895e013c Mon Sep 17 00:00:00 2001 From: Matt Rossman <22670878+mattrossman@users.noreply.github.com> Date: Thu, 5 Sep 2024 12:47:45 -0400 Subject: [PATCH] Make properties in T for IronSession optional --- src/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.ts b/src/core.ts index 91902ec5..0b54b9d5 100644 --- a/src/core.ts +++ b/src/core.ts @@ -98,7 +98,7 @@ export interface SessionOptions { cookieOptions?: CookieOptions; } -export type IronSession = T & { +export type IronSession = Partial & { /** * Encrypts the session data and sets the cookie. */