@react-native/codegen 0.84.0-nightly-20251215-07bd24ed0 → 0.84.0-nightly-20251217-f9346fb23
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.
|
@@ -443,7 +443,7 @@ function serializeConstantsProtocolMethods(
|
|
|
443
443
|
realTypeAnnotation.type === 'TypeAliasTypeAnnotation',
|
|
444
444
|
"Unable to generate C++ struct from module's getConstants() method return type.",
|
|
445
445
|
);
|
|
446
|
-
const returnObjCType = `facebook::react::ModuleConstants<JS::${hasteModuleName}::Constants
|
|
446
|
+
const returnObjCType = `facebook::react::ModuleConstants<JS::${hasteModuleName}::Constants>`;
|
|
447
447
|
|
|
448
448
|
// $FlowFixMe[missing-type-arg]
|
|
449
449
|
return ['constantsToExport', 'getConstants'].map(methodName => {
|
|
@@ -513,7 +513,7 @@ function serializeConstantsProtocolMethods(
|
|
|
513
513
|
"Unable to generate C++ struct from module's getConstants() method return type.",
|
|
514
514
|
);
|
|
515
515
|
|
|
516
|
-
const returnObjCType = `facebook::react::ModuleConstants<JS::${hasteModuleName}::Constants
|
|
516
|
+
const returnObjCType = `facebook::react::ModuleConstants<JS::${hasteModuleName}::Constants>`;
|
|
517
517
|
|
|
518
518
|
// $FlowFixMe[missing-type-arg]
|
|
519
519
|
return ['constantsToExport', 'getConstants'].map<MethodSerializationOutput>(
|