diff --git a/src/core/utils/constants.ts b/src/core/utils/constants.ts index 4da0cfc..e524918 100644 --- a/src/core/utils/constants.ts +++ b/src/core/utils/constants.ts @@ -1,9 +1,12 @@ export function remapConstants( constants: T ): Record { - return Object.keys(constants).reduce((acc, key) => { - const value = constants[key as keyof T]; - acc[String(value)] = key as keyof T; - return acc; - }, {} as Record); + return Object.keys(constants).reduce( + (acc, key) => { + const value = constants[key as keyof T]; + acc[String(value)] = key as keyof T; + return acc; + }, + {} as Record + ); }