diff options
author | gagarin55 <gagarin55@protonmail.com> | 2018-02-14 21:18:49 +0800 |
---|---|---|
committer | gagarin55 <gagarin55@protonmail.com> | 2018-02-14 21:18:49 +0800 |
commit | 5927e65045d97baf6c4f05c6973785f6b1e0a22d (patch) | |
tree | 81206ff8ce3f46da3e3ae03ffae3cb61018c5f53 | |
parent | 13e2041d50d682128ffa903a7dd4bd1f6d5e928c (diff) | |
download | dexon-sol-tools-5927e65045d97baf6c4f05c6973785f6b1e0a22d.tar dexon-sol-tools-5927e65045d97baf6c4f05c6973785f6b1e0a22d.tar.gz dexon-sol-tools-5927e65045d97baf6c4f05c6973785f6b1e0a22d.tar.bz2 dexon-sol-tools-5927e65045d97baf6c4f05c6973785f6b1e0a22d.tar.lz dexon-sol-tools-5927e65045d97baf6c4f05c6973785f6b1e0a22d.tar.xz dexon-sol-tools-5927e65045d97baf6c4f05c6973785f6b1e0a22d.tar.zst dexon-sol-tools-5927e65045d97baf6c4f05c6973785f6b1e0a22d.zip |
web3 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; } |