From 0e345f3895d0033d8e17e2921198df02d386bc15 Mon Sep 17 00:00:00 2001 From: Tanya Fomina Date: Mon, 8 Jan 2024 19:10:44 +0300 Subject: [PATCH] Fix eslint errors --- src/application/services/useErrorCatcher.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/application/services/useErrorCatcher.ts b/src/application/services/useErrorCatcher.ts index 5517d1a9..568b88c1 100644 --- a/src/application/services/useErrorCatcher.ts +++ b/src/application/services/useErrorCatcher.ts @@ -15,15 +15,15 @@ export const useErrorCatcher = createSharedComposable(() => { /** * Hawk catcher instance */ - let hawk: typeof HawkCatcher | undefined; + let hawk: HawkCatcher | undefined; /** * Initializes error catcher * * @param app - vue app instance */ - function init(app: App) { - new HawkCatcher({ + function init(app: App): void { + hawk = new HawkCatcher({ token: import.meta.env.VITE_HAWK_TOKEN, vue: app, release: window.HAWK_RELEASE,