Export TS types in @novu/react-native
Can you export the TS types in @novu/react-native just as you do in @novu/react?
Here's what @novu/react-native@3.7.0 exports at the moment

6 Replies
Could you please check if @novu/js is helpful in this case? You will need to install @novu/js with @novu/react-native
Yep yep. @novu/js does have the necessary types.
Still, would be nice to have the types directly in the @novu/react-native just as we have in @novu/react
Or do it the other way around, ie, don't export the types in the @novu/react and "force" the user to use the @novu/js.
Essentially, what I'm saying is that the use of types should be consistent in both cases
Thanks @AndreMaz
I am sharing the feedback with team
@Pawan Jain tried the v3.8.1
I still need to use types (e.g,
Preference
) and enums (e.g PreferenceLevel
) from @novu/js and when I do it I get the following error in the app and in the terminal

@AndreMaz, you just advanced to level 2!
Ok. Found a GH Issue that mentions the same error: https://github.com/novuhq/novu/issues/8886
GitHub
🐛 Bug Report: Expo: Unable to resolve "@novu/js/internal" from "...
📜 Description Hey, I'm trying to integrate Novu into an Expo application, but receiving this error: Unable to resolve "@novu/js/internal" from "node_modules/@novu/react/dist/cjs/...