Skip to content

Commit

Permalink
Merge pull request #2355 from odanado/issue/2329
Browse files Browse the repository at this point in the history
Fix an interface of EthereumProvider.send
  • Loading branch information
nivida authored Feb 10, 2019
2 parents 80325f6 + 914f375 commit 35ebbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web3-providers/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class EthereumProvider {
host: string;
registerEventListeners(): void;

send(method: string, callback: () => void): Promise<object>;
send(method: string, parameters: any[]): Promise<object>;

sendBatch(methods: AbstractMethod[], moduleInstance: AbstractWeb3Module): Promise<object[]>;

Expand Down

0 comments on commit 35ebbca

Please sign in to comment.