From 6deecd5aaf40a74c1ba43911ee1ffab97e4fca17 Mon Sep 17 00:00:00 2001 From: Viktor Isaev Date: Fri, 20 Oct 2017 17:09:01 +0300 Subject: [PATCH] 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". --- types/restify-cookies/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/restify-cookies/index.d.ts b/types/restify-cookies/index.d.ts index 7e794855cb..8f00f97538 100644 --- a/types/restify-cookies/index.d.ts +++ b/types/restify-cookies/index.d.ts @@ -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 {