fix(flow): correct removeAccountChangeListener prototype

This commit is contained in:
Michael Vines 2018-10-27 19:48:37 -07:00
parent e7097340f2
commit 66e572f2a8
1 changed files with 1 additions and 1 deletions

View File

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