updated the event parameter to be optional on the close method, just like it is on the open method

This commit is contained in:
VML\snau
2017-12-21 08:56:19 -08:00
parent 0c2b75b2cf
commit 012e232dea
+1 -1
View File
@@ -36,7 +36,7 @@ export default class VanillaModal {
removeOpenId(): void;
open(allMatches: string, e?: Event): void;
detectTransition(): boolean;
close(e: Event): void;
close(e?: Event): void;
closeModal(e: Event): void;
closeModalWithTransition(e: Event): void;
captureNode(node: Node): void;