@omnifyjp/ts 8.0.4 → 8.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generator.js +1 -1
- package/package.json +1 -1
package/dist/generator.js
CHANGED
|
@@ -293,7 +293,7 @@ export function emptyLocaleMap(): Record<Locale, string> {
|
|
|
293
293
|
* undefined are skipped so update payloads only include touched fields.
|
|
294
294
|
*/
|
|
295
295
|
export function buildI18nPayload(
|
|
296
|
-
fields: Record<string, Record<string, string
|
|
296
|
+
fields: Record<string, Partial<Record<string, string>> | undefined>,
|
|
297
297
|
): Record<Locale, Record<string, string>> {
|
|
298
298
|
const out = {} as Record<Locale, Record<string, string>>;
|
|
299
299
|
for (const locale of SUPPORTED_LOCALES) {
|