mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Add none to sameSite (#38618)
This commit is contained in:
parent
faf941d13c
commit
326dcc2985
2
types/cookies/index.d.ts
vendored
2
types/cookies/index.d.ts
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user