From 8ce3b47f15d6ef085c607820b5aa8799f604c5c0 Mon Sep 17 00:00:00 2001 From: vsnegovik Date: Tue, 29 Aug 2023 19:46:39 +0300 Subject: [PATCH] feat: add eventManagerInstance export MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Добавлен экспорт переменной `eventManagerInstance` для использования в других модулях. --- index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.ts b/index.ts index 6b2efa7..3594a3e 100644 --- a/index.ts +++ b/index.ts @@ -79,3 +79,7 @@ export default class EventManagment { public unsubscribe = this.off; /// } + +const eventManager = new EventManagment(); + +export { eventManager }; \ No newline at end of file