mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Add sameSite: "none" support (#42018)
This commit is contained in:
parent
7ede30d4fb
commit
702bcdd984
4
types/cookie-session/index.d.ts
vendored
4
types/cookie-session/index.d.ts
vendored
@ -49,9 +49,9 @@ declare namespace CookieSessionInterfaces {
|
||||
domain?: string;
|
||||
|
||||
/**
|
||||
* 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').
|
||||
* a boolean or string indicating whether the cookie is a "same site" cookie (false by default). This can be set to 'strict', 'lax', 'none', or true (which maps to 'strict').
|
||||
*/
|
||||
sameSite?: "strict" | "lax" | boolean;
|
||||
sameSite?: "strict" | "lax" | "none" | boolean;
|
||||
|
||||
/**
|
||||
* a boolean indicating whether the cookie is only to be sent over HTTPS (false by default for HTTP, true by default for HTTPS).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user