Skip to content

Conversation

@kraenhansen
Copy link
Collaborator

@kraenhansen kraenhansen commented Oct 17, 2025

Merging this PR will fix #265 by:

  • Refactor host package's react native entrypoint to have its requireNodeAddon function return a generic type T (defaulting to unknown).

@kraenhansen kraenhansen self-assigned this Oct 17, 2025
@kraenhansen kraenhansen added Apple 🍎 Anything related to the Apple platform (iOS, macOS, Cocoapods, Xcode, XCFrameworks, etc.) Android 🤖 Anything related to the Android platform (Gradle, NDK, Android SDK) Host 🏡 Our `react-native-node-api-modules` package labels Oct 17, 2025
@kraenhansen kraenhansen merged commit 9f1a301 into main Oct 18, 2025
12 of 13 checks passed
@kraenhansen kraenhansen deleted the kh/require-node-api-return-type branch October 18, 2025 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Android 🤖 Anything related to the Android platform (Gradle, NDK, Android SDK) Apple 🍎 Anything related to the Apple platform (iOS, macOS, Cocoapods, Xcode, XCFrameworks, etc.) Host 🏡 Our `react-native-node-api-modules` package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update return type of requireNodeAddon

2 participants