From 2cdc9ea07129bfe1bd8a20df2f3171ca4c066308 Mon Sep 17 00:00:00 2001 From: Vitalie Andries Date: Mon, 5 Feb 2018 15:35:26 +0200 Subject: [PATCH] @trivial - modal commands can take 2nd argument as relatedTarget and use as event property --- types/bootstrap/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/bootstrap/index.d.ts b/types/bootstrap/index.d.ts index a3117596af..06142cc1d1 100644 --- a/types/bootstrap/index.d.ts +++ b/types/bootstrap/index.d.ts @@ -87,7 +87,7 @@ interface TransitionEventNames { interface JQuery { modal(options?: ModalOptions): JQuery; modal(options?: ModalOptionsBackdropString): JQuery; - modal(command: string): JQuery; + modal(command: string, relatedTarget?: Element): JQuery; dropdown(): JQuery; dropdown(command: string): JQuery;