Back out "fix(iOS): unify prefetchImageWithMetadata's signature in JS and ObjC land" (#47664)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/47664

We landed the previous change in [4dd60acb7d](4dd60acb7d), but this is breaking the OSS CI because now the two signatures do not match

## Changelog:
[Internal] - Revert make the prefetchImageWithMetadata's queryRoot nullable

Reviewed By: GijsWeterings

Differential Revision: D66096759

fbshipit-source-id: b0ce87d82edd63576df7a04c58d5aec3173ad8d6
This commit is contained in:
Riccardo Cipolleschi 2024-11-18 07:34:43 -08:00 committed by Facebook GitHub Bot
parent fe8cc62824
commit 7e0bdcb780

View File

@ -1227,7 +1227,7 @@ RCT_EXPORT_METHOD(prefetchImage
RCT_EXPORT_METHOD(prefetchImageWithMetadata
: (NSString *)uri queryRootName
: (nullable NSString *)queryRootName rootTag
: (NSString *)queryRootName rootTag
: (double)rootTag resolve
: (RCTPromiseResolveBlock)resolve reject
: (RCTPromiseRejectBlock)reject)