diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2020-04-21 13:13:23 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2020-04-21 13:16:39 +0200 |
| commit | 28a02cdadb4c00c19b40ee5f6c0f8c7ea7f12cb4 (patch) | |
| tree | b5af4882ed8fd158c051cdbb256a80cceba6419c /gui | |
| parent | 3651aadb964e58e46398acee2655f20e04adf0e8 (diff) | |
| download | mullvadvpn-28a02cdadb4c00c19b40ee5f6c0f8c7ea7f12cb4.tar.xz mullvadvpn-28a02cdadb4c00c19b40ee5f6c0f8c7ea7f12cb4.zip | |
Fix typo "Elector" to "Electron"
Diffstat (limited to 'gui')
| -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 bfa1e116ce..c09b8d2a84 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 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>) => { @@ -477,7 +477,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> => { |
