Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix electron typing again again (#7788)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Feb 11, 2022
1 parent b5e7d12 commit 0e3b559
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/@types/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,16 @@ declare global {
mxActiveWidgetStore?: ActiveWidgetStore;
mxSkinner?: Skinner;
mxOnRecaptchaLoaded?: () => void;
electron?: {}; // we should not rely on any fields on this in this layer
electron?: Electron;
mxSendSentryReport: (userText: string, issueUrl: string, error: Error) => Promise<void>;
mxLoginWithAccessToken: (hsUrl: string, accessToken: string) => Promise<void>;
mxAutoRageshakeStore?: AutoRageshakeStore;
}

interface Electron {
// will be extended by element-web downstream
}

interface DesktopCapturerSource {
id: string;
name: string;
Expand Down

0 comments on commit 0e3b559

Please sign in to comment.