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 .
This commit is contained in:
Sam Saint-Pettersen
2016-03-23 19:07:16 +00:00
parent a44529fcb1
commit ac71473c90

View File

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