diff options
author | Leonid <logvinov.leon@gmail.com> | 2018-02-15 02:19:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-15 02:19:48 +0800 |
commit | 91ae01e48456d3e8c857c47b95f01c3e3cef00c6 (patch) | |
tree | 81206ff8ce3f46da3e3ae03ffae3cb61018c5f53 | |
parent | 13e2041d50d682128ffa903a7dd4bd1f6d5e928c (diff) | |
parent | 5927e65045d97baf6c4f05c6973785f6b1e0a22d (diff) | |
download | dexon-0x-contracts-91ae01e48456d3e8c857c47b95f01c3e3cef00c6.tar dexon-0x-contracts-91ae01e48456d3e8c857c47b95f01c3e3cef00c6.tar.gz dexon-0x-contracts-91ae01e48456d3e8c857c47b95f01c3e3cef00c6.tar.bz2 dexon-0x-contracts-91ae01e48456d3e8c857c47b95f01c3e3cef00c6.tar.lz dexon-0x-contracts-91ae01e48456d3e8c857c47b95f01c3e3cef00c6.tar.xz dexon-0x-contracts-91ae01e48456d3e8c857c47b95f01c3e3cef00c6.tar.zst dexon-0x-contracts-91ae01e48456d3e8c857c47b95f01c3e3cef00c6.zip |
Merge pull request #397 from gagarin55/typings-fix
web3-typescript-typings fix - web3.net.peerCount returns number
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index cd34759ed..915c73b90 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -298,7 +298,7 @@ declare module 'web3' { interface NetApi { listening: boolean; - peerCount: boolean; + peerCount: number; getListening(cd: (err: Error, listening: boolean) => void): void; getPeerCount(cd: (err: Error, peerCount: number) => void): void; } |