fix(flow): correct newAccount prototype

This commit is contained in:
Michael Vines 2018-10-18 23:12:14 -07:00
parent c848d64e3c
commit 9d63f28cdf
1 changed files with 1 additions and 1 deletions

View File

@ -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(