aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-06 08:49:48 +0800
committerFabio Berger <me@fabioberger.com>2017-12-06 08:49:48 +0800
commite59934ca2110d639671337f1ecd643791ca28c8d (patch)
treeba7f8d40afad779bec11674518243fa2de7d1d7e /packages
parentc93bb4ef9829f9c8467dea198a4520224cb687f5 (diff)
downloaddexon-0x-contracts-e59934ca2110d639671337f1ecd643791ca28c8d.tar.gz
dexon-0x-contracts-e59934ca2110d639671337f1ecd643791ca28c8d.tar.zst
dexon-0x-contracts-e59934ca2110d639671337f1ecd643791ca28c8d.zip
Add null to err type
Diffstat (limited to 'packages')
-rw-r--r--packages/subproviders/src/subproviders/injected_web3.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/subproviders/src/subproviders/injected_web3.ts b/packages/subproviders/src/subproviders/injected_web3.ts
index a3308d142..25d747a62 100644
--- a/packages/subproviders/src/subproviders/injected_web3.ts
+++ b/packages/subproviders/src/subproviders/injected_web3.ts
@@ -14,7 +14,7 @@ export class InjectedWeb3Subprovider {
this.injectedWeb3 = injectedWeb3;
}
public handleRequest(
- payload: Web3.JSONRPCRequestPayload, next: () => void, end: (err: Error, result: any) => void,
+ payload: Web3.JSONRPCRequestPayload, next: () => void, end: (err: Error|null, result: any) => void,
) {
switch (payload.method) {
case 'web3_clientVersion':