mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-12 12:10:48 +08:00
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.
This commit is contained in:
1 parent
abab859bb8
commit
f0fef408cf
1 file changed
+2
-1
Vendored
+2
-1
@@ -5,8 +5,9 @@
|
||||
|
||||
///<reference path="../jquery/jquery-1.8.d.ts" />
|
||||
|
||||
|
||||
interface JQueryCookieOptions {
|
||||
expires?: number;
|
||||
expires?: any;
|
||||
path?: string;
|
||||
domain?: string;
|
||||
secure?: bool;
|
||||
|
||||
Reference in new issue
Block a user