summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared/ipc-helpers.ts
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2024-06-14 11:41:11 +0200
committerOskar Nyberg <oskar@mullvad.net>2024-06-18 15:04:34 +0200
commit59f21bba30b22a627d77184275a67a4d09daed23 (patch)
tree0868fe15307d38ca85aec5a1369f33d4e680ff95 /gui/src/shared/ipc-helpers.ts
parent454df7dd6b0ff70c5eb63da5745e39e2b5c5897e (diff)
downloadmullvadvpn-59f21bba30b22a627d77184275a67a4d09daed23.tar.xz
mullvadvpn-59f21bba30b22a627d77184275a67a4d09daed23.zip
Fix eslint errors
All changes in this commit were produced by running `npm run lint -- --fix`.
Diffstat (limited to 'gui/src/shared/ipc-helpers.ts')
-rw-r--r--gui/src/shared/ipc-helpers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/shared/ipc-helpers.ts b/gui/src/shared/ipc-helpers.ts
index 0ff3ca2064..c49b7df9b8 100644
--- a/gui/src/shared/ipc-helpers.ts
+++ b/gui/src/shared/ipc-helpers.ts
@@ -39,7 +39,7 @@ type IpcMainFn<I extends AnyIpcCall> = I['direction'] extends 'main-to-renderer'
// Renames all receiving IPC calls, e.g. `callName` to `listenCallName`.
type IpcRendererKey<
N extends string,
- I extends AnyIpcCall
+ I extends AnyIpcCall,
> = I['direction'] extends 'main-to-renderer' ? `listen${Capitalize<N>}` : N;
// Selects either the send or receive function depending on direction.