From ef353f1d66dbf1d14e528830d267aac518ed1beb Mon Sep 17 00:00:00 2001 From: Ven Date: Sat, 1 Oct 2022 02:27:28 +0200 Subject: Better authors field (#18) --- src/utils/IpcEvents.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/IpcEvents.ts') diff --git a/src/utils/IpcEvents.ts b/src/utils/IpcEvents.ts index b0a53f2..24e52b9 100644 --- a/src/utils/IpcEvents.ts +++ b/src/utils/IpcEvents.ts @@ -8,7 +8,7 @@ function strEnum>(obj: T): T { o[key] = obj[key] as any; o[obj[key]] = key as any; }; - return o; + return Object.freeze(o); } export default strEnum({ -- cgit