feat(index.d.ts): add sameSite option to set cookie's SameSite attribute
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sebastian Frank 2024-09-26 13:18:14 +00:00
parent 2b0edd2c9f
commit 9beb4d3a43
Signed by: apairon
SSH Key Fingerprint: SHA256:lYVOnGlR42QHj7wuqfFgGw8cKbfyZUpzeRDGVBBAHQU

1
index.d.ts vendored
View File

@ -524,6 +524,7 @@ declare global {
domain?: string
secure?: boolean
httpOnly?: boolean
sameSite?: "strict" | "lax" | "none"
}
): void
}