Add none to sameSite (#38618)

This commit is contained in:
Matt Seccafien 2019-10-02 17:52:36 -04:00 committed by Ryan Cavanaugh
parent faf941d13c
commit 326dcc2985

View File

@ -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