mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00: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:
3
jquery.cookie/jquery.cookie.d.ts
vendored
3
jquery.cookie/jquery.cookie.d.ts
vendored
@@ -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