summaryrefslogtreecommitdiffhomepage
path: root/gui/src/main/window-controller.ts
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-02-19 15:59:50 +0100
committerOskar Nyberg <oskar@mullvad.net>2020-02-19 15:59:50 +0100
commite2eb2c6a40de00fd19d3d9a337b268580535d4c3 (patch)
treef6c09b7e2fb0349f3e91449e849eb305504b6c09 /gui/src/main/window-controller.ts
parent937cd41dc54d9426e8970f6d83ead110817c27e7 (diff)
parenta423058d74447fb9f24d12631d644b7cd597a517 (diff)
downloadmullvadvpn-e2eb2c6a40de00fd19d3d9a337b268580535d4c3.tar.xz
mullvadvpn-e2eb2c6a40de00fd19d3d9a337b268580535d4c3.zip
Merge branch 'fix-lint-no-explicit-any'
Diffstat (limited to 'gui/src/main/window-controller.ts')
-rw-r--r--gui/src/main/window-controller.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/src/main/window-controller.ts b/gui/src/main/window-controller.ts
index bed0774b5e..9fb00becf5 100644
--- a/gui/src/main/window-controller.ts
+++ b/gui/src/main/window-controller.ts
@@ -181,6 +181,8 @@ 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.windowValue.webContents.send(event, ...data);
}