Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkoreye committed Jan 16, 2025
1 parent 598708a commit f018102
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/parsers/builder/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ const componentMappers: {
properties[key] !== null &&
(properties[key] as any)['@type'] === '@builder.io/core:LocalizedValue'
) {
const localizedValue = properties[key] as BuilderLocalizedValue;
const localizedValue = properties[key] as unknown as BuilderLocalizedValue;
localizedValues[`properties.${key}`] = localizedValue;
properties[key] = localizedValue.Default;
}
Expand Down Expand Up @@ -764,7 +764,7 @@ export const builderElementToMitosisNode = (
properties[key] !== null &&
(properties[key] as any)['@type'] === '@builder.io/core:LocalizedValue'
) {
const localizedValue = properties[key] as BuilderLocalizedValue;
const localizedValue = properties[key] as unknown as BuilderLocalizedValue;
localizedValues[`properties.${key}`] = localizedValue;
properties[key] = localizedValue.Default;
}
Expand Down

0 comments on commit f018102

Please sign in to comment.