mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-07 11:14:00 +08:00
bool -> boolean in jquery.cookie
This commit is contained in:
1 parent
5e9e468202
commit
8439d657c1
2 files changed
+6
-6
No files matched your search
@@ -15,7 +15,7 @@ class CookieOptions implements JQueryCookieOptions {
|
||||
expires: number;
|
||||
path: string;
|
||||
domain: string;
|
||||
secure: bool;
|
||||
secure: boolean;
|
||||
}
|
||||
|
||||
$.cookie("the_cookie", "the_value");
|
||||
|
||||
Vendored
+5
-5
@@ -10,12 +10,12 @@ interface JQueryCookieOptions {
|
||||
expires?: any;
|
||||
path?: string;
|
||||
domain?: string;
|
||||
secure?: bool;
|
||||
secure?: boolean;
|
||||
}
|
||||
|
||||
interface JQueryCookieStatic {
|
||||
raw?: bool;
|
||||
json?: bool;
|
||||
raw?: boolean;
|
||||
json?: boolean;
|
||||
|
||||
(name: string): any;
|
||||
(name: string, value: string): void;
|
||||
@@ -27,6 +27,6 @@ interface JQueryCookieStatic {
|
||||
interface JQueryStatic {
|
||||
cookie?: JQueryCookieStatic;
|
||||
|
||||
removeCookie(name: string): bool;
|
||||
removeCookie(name: string, options: JQueryCookieOptions): bool;
|
||||
removeCookie(name: string): boolean;
|
||||
removeCookie(name: string, options: JQueryCookieOptions): boolean;
|
||||
}
|
||||
Reference in new issue
Block a user