Codegen fails if there is an interface without extends in NativeLib.ts
#34880
Labels
Needs: Triage 🔍
p: Sentry
Partner: Sentry
Partner
Stale
There has been a lack of activity on this issue and it may be closed soon.
Tech: Codegen
Related to react-native-codegen
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
Code generation fails when there is an interface without
extends
in the ts native interface specification.Expected result would be that this unrelated interface would just be skipped/ignored it should not effect the result in any way.
Version
0.70.1
Output of
npx react-native info
System:
OS: macOS 12.6
CPU: (10) x64 Apple M1 Pro
Memory: 42.89 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 14.20.1 - ~/.volta/tools/image/node/14.20.1/bin/node
Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn
npm: 6.14.17 - ~/.volta/tools/image/node/14.20.1/bin/npm
Watchman: 2022.07.04.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/lib/ruby/gems/2.7.0/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8815526
Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild
Languages:
Java: 11.0.16 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: >=16.4.1 => 18.2.0
react-native: ^0.70.0 => 0.70.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: