fix: add TokenAmount.uiAmountString (#15739)

This commit is contained in:
Tyera Eulberg
2021-03-05 11:01:37 -07:00
committed by GitHub
parent 66b781eec3
commit d61b74919b
3 changed files with 8 additions and 4 deletions

3
web3.js/module.d.ts vendored
View File

@ -285,9 +285,10 @@ declare module '@solana/web3.js' {
};
export type TokenAmount = {
uiAmount: number;
uiAmount: number | null;
decimals: number;
amount: string;
uiAmountString?: string;
};
export type TokenAccountBalancePair = {