From d4459b6afc56d5dddd6ed0f4182b8cd316cd2cab Mon Sep 17 00:00:00 2001 From: Imran Nazir Date: Mon, 19 Aug 2019 22:18:20 +0100 Subject: [PATCH] MicroModal.close missing optional parameter from types (#37682) * addition of targetModal parameter for close `micromodal.close` can be passed a parameter for the target modal this is missing from the types * missing ; --- types/micromodal/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/micromodal/index.d.ts b/types/micromodal/index.d.ts index 3796eba976..b447df76ca 100644 --- a/types/micromodal/index.d.ts +++ b/types/micromodal/index.d.ts @@ -55,7 +55,7 @@ declare namespace MicroModal { /** * Closes the active modal */ - function close(): void; + function close(targetModal?: string): void; } export default MicroModal;