From 8439d657c13aed3215c32083e620723de06c70fa Mon Sep 17 00:00:00 2001 From: Theodore Brown Date: Sun, 21 Jul 2013 11:23:38 -0500 Subject: [PATCH 1/2] bool -> boolean in jquery.cookie --- jquery.cookie/jquery.cookie-tests.ts | 2 +- jquery.cookie/jquery.cookie.d.ts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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 From 4c5af1c3fa16e55b3d79c411e8cfe77fc0c0a230 Mon Sep 17 00:00:00 2001 From: Theodore Brown Date: Sun, 21 Jul 2013 11:28:25 -0500 Subject: [PATCH 2/2] bool -> boolean in spin.js --- spin/spin.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spin/spin.d.ts b/spin/spin.d.ts index f48adbb5ef..becf2f58e3 100644 --- a/spin/spin.d.ts +++ b/spin/spin.d.ts @@ -15,8 +15,8 @@ interface SpinnerOptions { color?: string; // #rgb or #rrggbb speed?: number; // Rounds per second trail?: number; // Afterglow percentage - shadow?: bool; // Whether to render a shadow - hwaccel?: bool; // Whether to use hardware acceleration + shadow?: boolean; // Whether to render a shadow + hwaccel?: boolean; // Whether to use hardware acceleration className?: string; // The CSS class to assign to the spinner zIndex?: number; // The z-index (defaults to 2000000000) top?: string; // Top position relative to parent in px @@ -30,4 +30,4 @@ declare class Spinner { stop(); lines(el, o); opacity(el, i, val); -} +}