mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
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:
committed by
Sheetal Nandi
parent
d7cdee2d0b
commit
d4459b6afc
Vendored
+1
-1
@@ -55,7 +55,7 @@ declare namespace MicroModal {
|
||||
/**
|
||||
* Closes the active modal
|
||||
*/
|
||||
function close(): void;
|
||||
function close(targetModal?: string): void;
|
||||
}
|
||||
|
||||
export default MicroModal;
|
||||
|
||||
Reference in New Issue
Block a user