Fix electron type conflict (#7786)

This commit is contained in:
Michael Telatynski 2022-02-11 11:40:35 +00:00 committed by GitHub
parent ac6a356027
commit 0541a224b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<void>;
mxLoginWithAccessToken: (hsUrl: string, accessToken: string) => Promise<void>;
mxAutoRageshakeStore?: AutoRageshakeStore;