mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
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:
1
bootbox/bootbox.d.ts
vendored
1
bootbox/bootbox.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user