summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-04-21 13:06:42 +0200
committerOskar Nyberg <oskar@mullvad.net>2020-04-21 13:11:12 +0200
commit1f9355676375cd181be818780a7b26781eea1398 (patch)
treefe8f3baec70f2452fa42fd200e2c5fb0504f61fe /gui/src/shared
parent171530b04a5fdbc8c27fa4f29ee37a98545ab335 (diff)
downloadmullvadvpn-1f9355676375cd181be818780a7b26781eea1398.tar.xz
mullvadvpn-1f9355676375cd181be818780a7b26781eea1398.zip
Revert "Update Electron to 8.2.0"
This reverts commit c6c9a7bb21b4d465518987724c6b8fe33de9fa6a.
Diffstat (limited to 'gui/src/shared')
-rw-r--r--gui/src/shared/ipc-event-channel.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/shared/ipc-event-channel.ts b/gui/src/shared/ipc-event-channel.ts
index b6e788e72e..bfa1e116ce 100644
--- a/gui/src/shared/ipc-event-channel.ts
+++ b/gui/src/shared/ipc-event-channel.ts
@@ -446,7 +446,7 @@ function handler<T>(event: string): (handlerFn: (value: T) => void) => void {
type RequestResult<T> = { type: 'success'; value: T } | { type: 'error'; message: string };
-// The Electron API uses the `any` type.
+// The Elector API uses the `any` type.
/* eslint-disable @typescript-eslint/no-explicit-any */
function requestHandler<T>(event: string): (fn: (...args: any[]) => Promise<T>) => void {
return (fn: (...args: any[]) => Promise<T>) => {
@@ -477,7 +477,7 @@ function requestHandler<T>(event: string): (fn: (...args: any[]) => Promise<T>)
}
/* eslint-enable @typescript-eslint/no-explicit-any */
-// The Electron API uses the `any` type.
+// The Elector API uses the `any` type.
/* eslint-disable @typescript-eslint/no-explicit-any */
function requestSender<T>(event: string): (...args: any[]) => Promise<T> {
return (...args: any[]): Promise<T> => {