Skip to content

Commit fd37129

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

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
@@ -88,7 +88,7 @@ const readJson = async (file: string, allowMissing = false): Promise<Dict> => {
8888

8989
/** Flatten nested objects into dotted keys */
9090
const flatten = (obj: Dict, prefix = ''): Dict => {
91-
const out: Record<string, unknown> = {}
91+
const out: Dict = {}
9292
for (const [k, v] of Object.entries(obj ?? {})) {
9393
const key = prefix ? `${prefix}.${k}` : k
9494
if (v && typeof v === 'object' && !Array.isArray(v)) {

0 commit comments

Comments
 (0)