diff options
Diffstat (limited to 'src/utils/IpcEvents.ts')
-rw-r--r-- | src/utils/IpcEvents.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/IpcEvents.ts b/src/utils/IpcEvents.ts index b96abdc..6b906f1 100644 --- a/src/utils/IpcEvents.ts +++ b/src/utils/IpcEvents.ts @@ -7,7 +7,7 @@ function strEnum<T extends Record<string, string>>(obj: T): T { for (const key in obj) { o[key] = obj[key] as any; o[obj[key]] = key as any; - }; + } return Object.freeze(o); } |