From 5add33c44d74aa9bf136d8541e65398d29a02893 Mon Sep 17 00:00:00 2001 From: Soner Koksal Date: Thu, 21 Dec 2017 01:11:38 +0300 Subject: [PATCH] BootboxDialogOptions message type extended according to jquery --- types/bootbox/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/bootbox/index.d.ts b/types/bootbox/index.d.ts index 850eb18c25..dfdf0de871 100644 --- a/types/bootbox/index.d.ts +++ b/types/bootbox/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for Bootbox 4.4.0 // Project: https://github.com/makeusabrew/bootbox -// Definitions by: Vincent Bortone , Kon Pik , Anup Kattel , Dominik Schroeter , Troy McKinnon , Stanny Nuytkens +// Definitions by: Vincent Bortone , Kon Pik , Anup Kattel , Dominik Schroeter , Troy McKinnon , Stanny Nuytkens , Soner Köksal // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -23,7 +23,7 @@ interface BootboxBaseOptions { /** Bootbox options available for custom modals */ interface BootboxDialogOptions extends BootboxBaseOptions { - message: string | Element; + message: JQuery|any[]|Element|DocumentFragment|Text|string|((index: number, html: string) => string|Element|JQuery); } /** Bootbox options available for alert modals */