From cff86ade20a419be12fd346e2b4b03fb1833f998 Mon Sep 17 00:00:00 2001 From: odan Date: Sat, 9 Feb 2019 03:55:35 +0900 Subject: [PATCH] fix an interface of EthereumProvider.send --- packages/web3-providers/types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web3-providers/types/index.d.ts b/packages/web3-providers/types/index.d.ts index 7ae588d8d2f..fa4d9a97536 100644 --- a/packages/web3-providers/types/index.d.ts +++ b/packages/web3-providers/types/index.d.ts @@ -112,7 +112,7 @@ export class EthereumProvider { host: string; registerEventListeners(): void; - send(method: string, callback: () => void): Promise; + send(method: string, parameters: any[]): Promise; sendBatch(methods: AbstractMethod[], moduleInstance: AbstractWeb3Module): Promise;