mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 06:29:40 +08:00
BootboxDialogOptions message type extended according to jquery
This commit is contained in:
4
types/bootbox/index.d.ts
vendored
4
types/bootbox/index.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
// Type definitions for Bootbox 4.4.0
|
||||
// Project: https://github.com/makeusabrew/bootbox
|
||||
// Definitions by: Vincent Bortone <https://github.com/vbortone>, Kon Pik <https://github.com/konpikwastaken>, Anup Kattel <https://github.com/kanup>, Dominik Schroeter <https://github.com/icereed>, Troy McKinnon <https://github.com/trodi>, Stanny Nuytkens <https://github.com/stannynuytkens>
|
||||
// Definitions by: Vincent Bortone <https://github.com/vbortone>, Kon Pik <https://github.com/konpikwastaken>, Anup Kattel <https://github.com/kanup>, Dominik Schroeter <https://github.com/icereed>, Troy McKinnon <https://github.com/trodi>, Stanny Nuytkens <https://github.com/stannynuytkens>, Soner Köksal <https://github.com/renjfk>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@@ -23,7 +23,7 @@ interface BootboxBaseOptions<T = any> {
|
||||
|
||||
/** Bootbox options available for custom modals */
|
||||
interface BootboxDialogOptions<T = any> extends BootboxBaseOptions<T> {
|
||||
message: string | Element;
|
||||
message: JQuery|any[]|Element|DocumentFragment|Text|string|((index: number, html: string) => string|Element|JQuery);
|
||||
}
|
||||
|
||||
/** Bootbox options available for alert modals */
|
||||
|
||||
Reference in New Issue
Block a user