mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-07 09:49:07 +00:00
Fixed types in "restify-cookies". (#20752)
* Added typings for "require-dir". * Fixed dtslint errors. * Fixed By field. * Added typings for "restify-cookies". * Added "cookies" field to Request interface. * Added typings for "heapdump". * Fixed types in "restify-cookies". * Added sameSite field to types in "restify-cookies". * Bumped version for "restify-cookies". * Fixed version for "restify-cookies".
This commit is contained in:
Vendored
+2
-1
@@ -11,9 +11,10 @@ declare module 'restify' {
|
||||
maxAge?: number;
|
||||
domain?: string;
|
||||
path?: string;
|
||||
expires?: string;
|
||||
expires?: Date;
|
||||
httpOnly?: boolean;
|
||||
secure?: boolean;
|
||||
sameSite?: boolean|'lax'|'strict';
|
||||
}
|
||||
|
||||
interface Request {
|
||||
|
||||
Reference in New Issue
Block a user