mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 08:17:05 +00:00
Update index.d.ts
Updating Cookie options to follow Express documentation https://expressjs.com/en/api.html#res.cookie Two properties `encode` and `sameSite` were missing
This commit is contained in:
Vendored
+2
@@ -161,6 +161,8 @@ interface CookieOptions {
|
||||
path?: string;
|
||||
domain?: string;
|
||||
secure?: boolean | 'auto';
|
||||
encode?: (val: string) => void;
|
||||
sameSite?: boolean | string;
|
||||
}
|
||||
|
||||
interface Errback { (err: Error): void; }
|
||||
|
||||
Reference in New Issue
Block a user