From f1fe339b6e408f728e77aa8b36eba9e386ea86d6 Mon Sep 17 00:00:00 2001 From: patrickhrastnik <30524365+patrickhrastnik@users.noreply.github.com> Date: Mon, 8 Jul 2019 23:06:51 +0200 Subject: [PATCH] @types/bootstrap dropdown added missing parameter options (#36714) * bootstrap dropdown added missing parameter options * Just use an en dash instead of hyphen in comments. --- types/bootstrap/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/bootstrap/index.d.ts b/types/bootstrap/index.d.ts index 6dc5f21a28..1cd7c858b3 100755 --- a/types/bootstrap/index.d.ts +++ b/types/bootstrap/index.d.ts @@ -513,10 +513,12 @@ declare global { /** * Call a method on the dropdown element: * * `toggle` – Toggles the dropdown menu of a given navbar or tabbed navigation. + * * `show` – Shows the dropdown menu of a given navbar or tabbed navigation. + * * `hide` – Hides the dropdown menu of a given navbar or tabbed navigation. * * `update` – Updates the position of an element's dropdown. * * `dispose` – Destroys an element's dropdown. */ - dropdown(action: "toggle" | "update" | "dispose"): this; + dropdown(action: "toggle" | "show" | "hide" | "update" | "dispose"): this; /** * Toggle contextual overlays for displaying lists of links. *