From f0fef408cf6b64a3bf36e9728f7cc13c13bf195d Mon Sep 17 00:00:00 2001 From: BreeeZe Date: Tue, 27 Nov 2012 22:12:28 +0100 Subject: [PATCH] The expires option can be either a number or a Date object. (https://github.com/carhartl/jquery-cookie#expires) Since there is no option to define both for a property it should be defined as any. --- jquery.cookie/jquery.cookie.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jquery.cookie/jquery.cookie.d.ts b/jquery.cookie/jquery.cookie.d.ts index 820a217c3..228bf8dec 100644 --- a/jquery.cookie/jquery.cookie.d.ts +++ b/jquery.cookie/jquery.cookie.d.ts @@ -5,8 +5,9 @@ /// + interface JQueryCookieOptions { - expires?: number; + expires?: any; path?: string; domain?: string; secure?: bool;