From 35a336f9dbfedfdadf7c2c92cea420d5ed19aea9 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sun, 12 Jul 2026 14:00:15 +0200 Subject: [PATCH] fix(i18n): widen Apple coverage key set --- scripts/apple-app-i18n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apple-app-i18n.ts b/scripts/apple-app-i18n.ts index b575e9846b06..48c17fc47829 100644 --- a/scripts/apple-app-i18n.ts +++ b/scripts/apple-app-i18n.ts @@ -804,7 +804,7 @@ export async function checkAppleAppI18n() { if (!macosCatalog.strings) { throw new Error(`invalid Apple string catalog: ${MACOS_CATALOG.path}`); } - const expectedMacosKeys = new Set(Object.values(MACOS_CATALOG.coverage).flat()); + const expectedMacosKeys: Set = new Set(Object.values(MACOS_CATALOG.coverage).flat()); const actualMacosKeys = new Set(Object.keys(macosCatalog.strings)); const missingMacosKeys = [...expectedMacosKeys].filter((key) => !actualMacosKeys.has(key)); const extraMacosKeys = [...actualMacosKeys].filter((key) => !expectedMacosKeys.has(key));