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 ;
This commit is contained in:
Imran Nazir
2019-08-19 14:18:20 -07:00
committed by Sheetal Nandi
parent d7cdee2d0b
commit d4459b6afc
+1 -1
View File
@@ -55,7 +55,7 @@ declare namespace MicroModal {
/**
* Closes the active modal
*/
function close(): void;
function close(targetModal?: string): void;
}
export default MicroModal;