diff options
author | Ven <vendicated@riseup.net> | 2022-10-01 02:27:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 02:27:28 +0200 |
commit | ef353f1d66dbf1d14e528830d267aac518ed1beb (patch) | |
tree | 67d13f5ce3cf42150884376c5f8d9b98f7300b38 /src/utils/IpcEvents.ts | |
parent | 3e64054283acbbe2697c9fc583bba7a06e1003b2 (diff) | |
download | Vencord-ef353f1d66dbf1d14e528830d267aac518ed1beb.tar.gz Vencord-ef353f1d66dbf1d14e528830d267aac518ed1beb.tar.bz2 Vencord-ef353f1d66dbf1d14e528830d267aac518ed1beb.zip |
Better authors field (#18)
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 b0a53f2..24e52b9 100644 --- a/src/utils/IpcEvents.ts +++ b/src/utils/IpcEvents.ts @@ -8,7 +8,7 @@ function strEnum<T extends Record<string, string>>(obj: T): T { o[key] = obj[key] as any; o[obj[key]] = key as any; }; - return o; + return Object.freeze(o); } export default strEnum({ |