Skip to content

Commit

Permalink
Merge pull request #176 from ar-io/docs-balance
Browse files Browse the repository at this point in the history
chore(docs): update getBalance docs example
  • Loading branch information
dtfiedler authored Jul 29, 2024
2 parents aee7a3e + c8f7087 commit 700c39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ const balance = await io
.getBalance({
address: 'QGWqtJdLLgm2ehFWiiPzMaoFLD50CnGuzZIPEdoDRGQ',
})
.then((balance) => new mIOToken().toIO()); // convert it to IO for readability
.then((balance: number) => new mIOToken(balance).toIO()); // convert it to IO for readability
```

<details>
Expand Down

0 comments on commit 700c39b

Please sign in to comment.