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.
This commit is contained in:
Shelly Chen
2016-08-30 16:19:45 +08:00
committed by GitHub
parent bac569d9ac
commit ba53c34e01

View File

@@ -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;