We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64cb8f7 commit 9c83f13Copy full SHA for 9c83f13
app/scripts/localizationCompare.ts
@@ -87,7 +87,7 @@ const readJson = async (file: string, allowMissing = false): Promise<Dict> => {
87
}
88
89
/** Flatten nested objects into dotted keys */
90
-const flatten = (obj: Dict, prefix = ''): Record<string, unknown> => {
+const flatten = (obj: Dict, prefix = ''): Dict => {
91
const out: Record<string, unknown> = {}
92
for (const [k, v] of Object.entries(obj ?? {})) {
93
const key = prefix ? `${prefix}.${k}` : k
0 commit comments