From 0541a224b58766af399899820a1754b99f7989e5 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 11 Feb 2022 11:40:35 +0000 Subject: [PATCH] Fix electron type conflict (#7786) --- src/@types/global.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@types/global.d.ts b/src/@types/global.d.ts index ddf3f40c62..6268c97924 100644 --- a/src/@types/global.d.ts +++ b/src/@types/global.d.ts @@ -109,7 +109,7 @@ declare global { mxActiveWidgetStore?: ActiveWidgetStore; mxSkinner?: Skinner; mxOnRecaptchaLoaded?: () => void; - electron?: unknown; + electron?: {}; // we should not rely on any fields on this in this layer mxSendSentryReport: (userText: string, issueUrl: string, error: Error) => Promise; mxLoginWithAccessToken: (hsUrl: string, accessToken: string) => Promise; mxAutoRageshakeStore?: AutoRageshakeStore;