braze-react-native-sdk
braze-react-native-sdk copied to clipboard
[Bug]: malformed export/typing
Which Platforms?
Both
Which React Native Version?
0.74.1
Which @braze/react-native-sdk SDK version?
12.1.0
Repro Rate
100%
Steps To Reproduce
Example:
-
Install @braze/react-native-sdk
-
import * as Braze from "@braze/react-native-sdk"
(as in documentation). -
Braze.changeUser("id")
- Run the app.
Expected Behavior
Typing should works.work
Actual Incorrect Behavior
The real error is that export and typing defined inside the lib don't match (exporting default in index.js
but individual typing in index.d.ts
)
Verbose Logs
No response
Additional Information
No response