Better authors field (#18)

This commit is contained in:
Ven 2022-10-01 02:27:28 +02:00 committed by GitHub
parent 3e64054283
commit ef353f1d66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 71 additions and 26 deletions

View file

@ -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({