Add more eslint rules

This commit is contained in:
Vendicated
2022-10-08 20:36:57 +02:00
parent 0109381a4f
commit dea34503ef
13 changed files with 33 additions and 21 deletions

View File

@ -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);
}