Skip to content

Commit 9c83f13

Browse files
y3rshsfoster1
andauthored
Update app/scripts/localizationCompare.ts
Co-authored-by: Seth Foster <[email protected]>
1 parent 64cb8f7 commit 9c83f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/scripts/localizationCompare.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const readJson = async (file: string, allowMissing = false): Promise<Dict> => {
8787
}
8888

8989
/** Flatten nested objects into dotted keys */
90-
const flatten = (obj: Dict, prefix = ''): Record<string, unknown> => {
90+
const flatten = (obj: Dict, prefix = ''): Dict => {
9191
const out: Record<string, unknown> = {}
9292
for (const [k, v] of Object.entries(obj ?? {})) {
9393
const key = prefix ? `${prefix}.${k}` : k

0 commit comments

Comments
 (0)