Skip to content

Commit

Permalink
batch-request-test.ts updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Furter committed May 28, 2019
1 parent 827e174 commit cc5ec6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web3-providers/types/tests/batch-request-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ const batchRequest = new BatchRequest(
// $ExpectType void
batchRequest.add(new AbstractMethod('eth_coinbase', 1, Utils, formatters, new AbstractWeb3Module('http://localhost:7545')));

// $ExpectType Promise<{ methods: AbstractMethod[]; response: any[]; } | Error[]>
// $ExpectType Promise<BatchError | BatchResponse>
batchRequest.execute();

0 comments on commit cc5ec6d

Please sign in to comment.