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 9c83f13 commit fd37129Copy full SHA for fd37129
app/scripts/localizationCompare.ts
@@ -88,7 +88,7 @@ const readJson = async (file: string, allowMissing = false): Promise<Dict> => {
88
89
/** Flatten nested objects into dotted keys */
90
const flatten = (obj: Dict, prefix = ''): Dict => {
91
- const out: Record<string, unknown> = {}
+ const out: Dict = {}
92
for (const [k, v] of Object.entries(obj ?? {})) {
93
const key = prefix ? `${prefix}.${k}` : k
94
if (v && typeof v === 'object' && !Array.isArray(v)) {
0 commit comments