diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2020-03-30 11:37:17 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2020-04-03 16:12:03 +0200 |
| commit | c6c9a7bb21b4d465518987724c6b8fe33de9fa6a (patch) | |
| tree | 69d8effcfc2f30015d31faeed09bfae36eadf6e9 /gui/src/shared | |
| parent | 113901123522d9cc86bb0f2705597f5e34139503 (diff) | |
| download | mullvadvpn-c6c9a7bb21b4d465518987724c6b8fe33de9fa6a.tar.xz mullvadvpn-c6c9a7bb21b4d465518987724c6b8fe33de9fa6a.zip | |
Update Electron to 8.2.0
Diffstat (limited to 'gui/src/shared')
| -rw-r--r-- | gui/src/shared/ipc-event-channel.ts | 4 |
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 5268415bfa..48f7b71bdc 100644 --- a/gui/src/shared/ipc-event-channel.ts +++ b/gui/src/shared/ipc-event-channel.ts @@ -440,7 +440,7 @@ function handler<T>(event: string): (handlerFn: (value: T) => void) => void { type RequestResult<T> = { type: 'success'; value: T } | { type: 'error'; message: string }; -// The Elector API uses the `any` type. +// The Electron 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>) => { @@ -471,7 +471,7 @@ function requestHandler<T>(event: string): (fn: (...args: any[]) => Promise<T>) } /* eslint-enable @typescript-eslint/no-explicit-any */ -// The Elector API uses the `any` type. +// The Electron 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> => { |
