From 326dcc29859dc302fb2e49e2f4964641b064d2b5 Mon Sep 17 00:00:00 2001 From: Matt Seccafien Date: Wed, 2 Oct 2019 17:52:36 -0400 Subject: [PATCH] Add `none` to sameSite (#38618) --- types/cookies/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/cookies/index.d.ts b/types/cookies/index.d.ts index 7c5a07522f..bd3c486558 100644 --- a/types/cookies/index.d.ts +++ b/types/cookies/index.d.ts @@ -88,7 +88,7 @@ declare namespace Cookies { * a boolean or string indicating whether the cookie is a "same site" cookie (false by default). * This can be set to 'strict', 'lax', or true (which maps to 'strict'). */ - sameSite?: 'strict' | 'lax' | boolean; + sameSite?: 'strict' | 'lax' | 'none' | boolean; /** * a boolean indicating whether the cookie is to be signed (false by default). * If this is true, another cookie of the same name with the .sig suffix