mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Fix electron typing again again (#7788)
This commit is contained in:
parent
b5e7d12f76
commit
0e3b559671
6
src/@types/global.d.ts
vendored
6
src/@types/global.d.ts
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user