Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS2869: Right operand of ?? is unreachable because the left operand is never nullish. #1004

Closed
stereodenis opened this issue Sep 27, 2024 · 1 comment · Fixed by #1005
Closed
Labels
bug Something isn't working released

Comments

@stereodenis
Copy link
Contributor

  • analytics-react-native version: 2.19.5
  • Integrations versions (if used):
  • "typescript": "5.6.2"
  • React Native version: 0.75.3

Steps to reproduce
tsc

Expected behavior
no errors

Actual behavior
TS2869: Right operand of ?? is unreachable because the left operand is never nullish.
node_modules/@segment/analytics-react-native/src/analytics.ts:153
image

@alanjcharles
Copy link
Contributor

🎉 This issue has been resolved in version 1.3.3 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
2 participants