From ac71473c90f6fe87b47de04bf8f021bc6e95bf5e Mon Sep 17 00:00:00 2001 From: Sam Saint-Pettersen Date: Wed, 23 Mar 2016 19:07:16 +0000 Subject: [PATCH] Update bootbox.d.ts BootboxPromptOptions can have a value property. Please see this gist: https://gist.github.com/k-nut/ceff736be60c76cb6047#file-bb-prompt-default-value-js as linked to at http://bootboxjs.com . --- bootbox/bootbox.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/bootbox/bootbox.d.ts b/bootbox/bootbox.d.ts index 9764a6d81d..48306fb28c 100644 --- a/bootbox/bootbox.d.ts +++ b/bootbox/bootbox.d.ts @@ -39,6 +39,7 @@ interface BootboxConfirmOptions extends BootboxDialogOptions { /** Bootbox options available for prompt modals */ interface BootboxPromptOptions extends BootboxBaseOptions { title: string; + value?: string; callback: (result: string) => any; buttons?: BootboxConfirmPromptButtonMap; }