Skip to content

Commit

Permalink
Add none to sameSite (DefinitelyTyped#38618)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Seccafien authored and RyanCavanaugh committed Oct 2, 2019
1 parent faf941d commit 326dcc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/cookies/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 326dcc2

Please sign in to comment.