fix(flow): correct onAccountChange prototype

This commit is contained in:
Michael Vines 2018-10-28 16:50:35 -07:00
parent 66e572f2a8
commit f3242c12a6
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ declare module '@solana/web3.js' {
getFinality(): Promise<number>;
requestAirdrop(to: PublicKey, amount: number): Promise<TransactionSignature>;
sendTransaction(from: Account, transaction: Transaction): Promise<TransactionSignature>;
onAccountChange(publickey: PublicKey, callback: AccountChangeCallback): Promise<number>;
onAccountChange(publickey: PublicKey, callback: AccountChangeCallback): number;
removeAccountChangeListener(id: number): Promise<void>;
}