Almost matching export.

This commit is contained in:
Patrick Fic
2025-03-20 12:50:47 -07:00
parent 2e5fe7c99d
commit 45209bd9e4
32 changed files with 490 additions and 120 deletions

View File

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