mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Add sameSite: "none" support (#42018)
This commit is contained in:
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).
|
||||
|
||||
Reference in New Issue
Block a user