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

No Identifiers allowed after numeric literals (React Native) #994

Open
AtmegaBuzz opened this issue Jun 15, 2024 · 1 comment
Open

No Identifiers allowed after numeric literals (React Native) #994

AtmegaBuzz opened this issue Jun 15, 2024 · 1 comment
Labels

Comments

@AtmegaBuzz
Copy link

Describe the bug
When i added this line

        let wallet = walletSdk.Wallet.TestNet();

The react native was giving this error "No Identifiers allowed after numeric literals".
upon debugging i found our that it can due to the bignumber.js or big int used in the sdk

What version are you on?
"@stellar/typescript-wallet-sdk": "^1.5.0"

Additional context
WhatsApp Image 2024-06-16 at 01 03 58_e0875d0e

@AtmegaBuzz AtmegaBuzz added the bug label Jun 15, 2024
@Shaptic
Copy link
Contributor

Shaptic commented Jul 1, 2024

You should be sure to use a React Native compiler that supports BigInt literals (like 1234n).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants