Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fixed upstream

Manav Rathiac25abf7d5c6
diff --git a/web/packages/base/global-electron.d.ts b/web/packages/base/global-electron.d.ts
index 05a6838e1c..c5de87ea12 100644
--- a/web/packages/base/global-electron.d.ts
+++ b/web/packages/base/global-electron.d.ts
@@ -14,9 +14,5 @@ declare global {
* {@link Electron}) that allow us to communicate with the Node.js layer of
* our desktop app.
*/
- // This needs to be a var for it to be recognized as a property of
- // globalThis, so we unfortunately need to hush eslint for the next line.
- //
- // eslint-disable-next-line no-var
- var electron: Electron | undefined;
+ declare var electron: Electron | undefined;
}