summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-12-03 16:13:42 +0100
committerOskar Nyberg <oskar@mullvad.net>2020-12-09 13:40:44 +0100
commitd53403ee74a89643c3f3ff201128b32fc760798f (patch)
tree88b3aae528c977fe0a86f4a2f8974668dced84d8 /gui
parent72cd257c7b9b5d875e1a08352b41600646f00f28 (diff)
downloadmullvadvpn-d53403ee74a89643c3f3ff201128b32fc760798f.tar.xz
mullvadvpn-d53403ee74a89643c3f3ff201128b32fc760798f.zip
Remove unused send function in WindowController
Diffstat (limited to 'gui')
-rw-r--r--gui/src/main/window-controller.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/gui/src/main/window-controller.ts b/gui/src/main/window-controller.ts
index 09b8d7651f..a44724d23f 100644
--- a/gui/src/main/window-controller.ts
+++ b/gui/src/main/window-controller.ts
@@ -199,12 +199,6 @@ export default class WindowController {
return this.windowValue.isVisible();
}
- // Electron uses the `any` type.
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- public send(event: string, ...data: any[]): void {
- this.webContentsValue.send(event, ...data);
- }
-
private showImmediately() {
const window = this.windowValue;