change any to union types

This commit is contained in:
vvakame
2015-01-17 00:08:09 +09:00
parent 2f7946a2c9
commit 4dd430601a
4 changed files with 21 additions and 22 deletions
+3 -3
View File
@@ -26,8 +26,8 @@ interface BootboxButton {
}
interface BootboxDialogOptions {
message: any; // String | Element
title?: any; // String | Element
message: string | Element
title?: string | Element
callback?: (result: boolean) => any;
show?: boolean;
onEscape?: () => any;
@@ -60,4 +60,4 @@ interface BootboxStatic {
hideAll(): void;
}
declare var bootbox: BootboxStatic;
declare var bootbox: BootboxStatic;