From ba53c34e010a79cb4d9eeb38ded8eb6734ce2d47 Mon Sep 17 00:00:00 2001 From: Shelly Chen Date: Tue, 30 Aug 2016 16:19:45 +0800 Subject: [PATCH] Update bootbox.d.ts for vs 2015 vs 2015 & typescript 1.8 has error for "onEscape?: (() => any) | boolean" when I set boolean value, so I added brackets. --- bootbox/bootbox.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootbox/bootbox.d.ts b/bootbox/bootbox.d.ts index ce422de880..c94b60625f 100644 --- a/bootbox/bootbox.d.ts +++ b/bootbox/bootbox.d.ts @@ -9,7 +9,7 @@ interface BootboxBaseOptions { title?: string | Element; callback?: (result: boolean | string) => any; - onEscape?: () => any | boolean; + onEscape?: (() => any) | boolean; show?: boolean; backdrop?: boolean; closeButton?: boolean;