aboutsummaryrefslogtreecommitdiff
path: root/src/utils/IpcEvents.ts
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-10-01 02:27:28 +0200
committerGitHub <noreply@github.com>2022-10-01 02:27:28 +0200
commitef353f1d66dbf1d14e528830d267aac518ed1beb (patch)
tree67d13f5ce3cf42150884376c5f8d9b98f7300b38 /src/utils/IpcEvents.ts
parent3e64054283acbbe2697c9fc583bba7a06e1003b2 (diff)
downloadVencord-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.ts2
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({