Skip to content

Commit 63951aa

Browse files
committed
fix(prebuild): use Flow comment types in xcframework.js
Bare `param: string` is not valid JS. Node 26 fails ios-prebuild at normalizeMacOSFrameworkBinaries; keep the types as /*: string */.
1 parent d423ba8 commit 63951aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/react-native/scripts/ios-prebuild/xcframework.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ function buildXCFrameworks(
241241
}
242242

243243
function normalizeMacOSFrameworkBinaries(
244-
outputPath: string,
245-
buildFolder: string,
244+
outputPath /*: string */,
245+
buildFolder /*: string */,
246246
) {
247247
const macOSSlices = fs
248248
.readdirSync(outputPath)

0 commit comments

Comments
 (0)