@react-native/codegen 0.83.0-rc.0 → 0.84.0-nightly-20251105-5ec5cc3a3
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.
|
@@ -310,7 +310,7 @@ function createStructsString(hasteModuleName, aliasMap, resolveAlias, enumMap) {
|
|
|
310
310
|
|
|
311
311
|
template <${templateParameterWithTypename}>
|
|
312
312
|
struct ${structName} {
|
|
313
|
-
${templateMemberTypes.map(v => ' ' + v).join(';\n')};
|
|
313
|
+
${templateMemberTypes.map(v => ' ' + v).join('{};\n')};
|
|
314
314
|
bool operator==(const ${structName} &other) const {
|
|
315
315
|
return ${value.properties.map(v => `${v.name} == other.${v.name}`).join(' && ')};
|
|
316
316
|
}
|
|
@@ -374,7 +374,7 @@ function createStructsString(
|
|
|
374
374
|
|
|
375
375
|
template <${templateParameterWithTypename}>
|
|
376
376
|
struct ${structName} {
|
|
377
|
-
${templateMemberTypes.map(v => ' ' + v).join(';\n')};
|
|
377
|
+
${templateMemberTypes.map(v => ' ' + v).join('{};\n')};
|
|
378
378
|
bool operator==(const ${structName} &other) const {
|
|
379
379
|
return ${value.properties
|
|
380
380
|
.map(v => `${v.name} == other.${v.name}`)
|