fix(flow): correct newAccount prototype
This commit is contained in:
parent
c848d64e3c
commit
9d63f28cdf
|
@ -134,7 +134,7 @@ declare module '@solana/web3.js' {
|
|||
): Promise<TokenAndPublicKey>;
|
||||
|
||||
constructor(connection: Connection, token: PublicKey) : Token;
|
||||
newAccount(owner: Account, source: null | PublicKey): Promise<PublicKey>;
|
||||
newAccount(owner: Account, source?: PublicKey): Promise<PublicKey>;
|
||||
tokenInfo(): Promise<TokenInfo>;
|
||||
accountInfo(account: PublicKey): Promise<TokenAccountInfo>;
|
||||
transfer(
|
||||
|
|
Loading…
Reference in New Issue