mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 18:25:24 +00:00
improved types fix1
This commit is contained in:
@@ -184,7 +184,7 @@ function getModelBufferContents(model: BundleUnit): PartitionedBundle {
|
|||||||
|
|
||||||
// separing localization folders
|
// separing localization folders
|
||||||
const l10nFolders = bundleKeys.filter(file => file.includes(".lproj"));
|
const l10nFolders = bundleKeys.filter(file => file.includes(".lproj"));
|
||||||
const l10nBundle: { [key: string]: BundleUnit } = Object.assign({},
|
const l10nBundle: PartitionedBundle["l10nBundle"] = Object.assign({},
|
||||||
...l10nFolders.map(folder =>
|
...l10nFolders.map(folder =>
|
||||||
({ [folder]: bundle[folder] }) as BundleUnit
|
({ [folder]: bundle[folder] }) as BundleUnit
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user