From 3fc372d45d6a415bf496e9ff121d886f776e7c0e Mon Sep 17 00:00:00 2001 From: Icereed Date: Wed, 29 Jul 2015 08:37:50 +0200 Subject: [PATCH] Added possibility to add a button as function --- 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 d71de8b702..5ec2a7abd8 100644 --- a/bootbox/bootbox.d.ts +++ b/bootbox/bootbox.d.ts @@ -29,7 +29,7 @@ interface BootboxButton { } interface BootboxButtonMap { - [key: string]: BootboxButton; + [key: string]: BootboxButton | Function; } interface BootboxDialogOptions {