diff --git a/jquery.cookie/jquery.cookie-tests.ts b/jquery.cookie/jquery.cookie-tests.ts index 6bf057757d..69a8c04120 100644 --- a/jquery.cookie/jquery.cookie-tests.ts +++ b/jquery.cookie/jquery.cookie-tests.ts @@ -15,7 +15,7 @@ class CookieOptions implements JQueryCookieOptions { expires: number; path: string; domain: string; - secure: bool; + secure: boolean; } $.cookie("the_cookie", "the_value"); diff --git a/jquery.cookie/jquery.cookie.d.ts b/jquery.cookie/jquery.cookie.d.ts index 3c5f051924..0fc82d8460 100644 --- a/jquery.cookie/jquery.cookie.d.ts +++ b/jquery.cookie/jquery.cookie.d.ts @@ -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; } \ No newline at end of file