@react-native/codegen 0.84.0-nightly-20251216-c16eb23a1 → 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::Builder>`;
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::Builder>`;
516
+ const returnObjCType = `facebook::react::ModuleConstants<JS::${hasteModuleName}::Constants>`;
517
517
 
518
518
  // $FlowFixMe[missing-type-arg]
519
519
  return ['constantsToExport', 'getConstants'].map<MethodSerializationOutput>(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native/codegen",
3
- "version": "0.84.0-nightly-20251216-c16eb23a1",
3
+ "version": "0.84.0-nightly-20251217-f9346fb23",
4
4
  "description": "Code generation tools for React Native",
5
5
  "license": "MIT",
6
6
  "repository": {