From dbcfa807719618a89b243fcb9594dbf631abaa49 Mon Sep 17 00:00:00 2001 From: Dana Mison Date: Mon, 22 Aug 2022 11:19:32 +1000 Subject: [PATCH] type: updated expires type (#28) --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 7126609..64479a8 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,5 +1,5 @@ export interface CookieOptions { - expires?: number; + expires?: number | Date | string; path?: string; domain?: string; secure?: boolean;