diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-06 08:49:48 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-06 08:49:48 +0800 |
commit | e59934ca2110d639671337f1ecd643791ca28c8d (patch) | |
tree | ba7f8d40afad779bec11674518243fa2de7d1d7e | |
parent | c93bb4ef9829f9c8467dea198a4520224cb687f5 (diff) | |
download | dexon-sol-tools-e59934ca2110d639671337f1ecd643791ca28c8d.tar.gz dexon-sol-tools-e59934ca2110d639671337f1ecd643791ca28c8d.tar.zst dexon-sol-tools-e59934ca2110d639671337f1ecd643791ca28c8d.zip |
Add null to err type
-rw-r--r-- | packages/subproviders/src/subproviders/injected_web3.ts | 2 |
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': |