mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
change any to union types
This commit is contained in:
Vendored
+3
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user