Almost matching export.
This commit is contained in:
@@ -22,7 +22,9 @@ function deepLowerCaseKeys<T = any>(obj: any): T {
|
||||
const lowercaseKey = key.toLowerCase();
|
||||
|
||||
result[lowercaseKey] =
|
||||
typeof value === "object" && value !== null
|
||||
typeof value === "object" &&
|
||||
value !== null &&
|
||||
Object.keys(value).length > 0
|
||||
? deepLowerCaseKeys(value)
|
||||
: value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user